memgraph / rsmgclient

Memgraph database adapter for Rust programming language.
https://crates.io/crates/rsmgclient
Apache License 2.0
38 stars 6 forks source link

Unable to install rsmgclient in manylinux container #51

Open antejavor opened 5 months ago

antejavor commented 5 months ago

Due to the open issue: https://github.com/memgraph/rsmgclient/issues/46

This build process described in README will fail on multiple Linux Distros; exception is Ubuntu it works on Ubuntu.

#!/bin/bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
yum update
yum install -y cmake
yum install -y openssl-devel
yum install -y epel-release
yum install -y centos-release-scl
yum install -y llvm-toolset-13.0-clang
source scl_source enable llvm-toolset-13.0
git clone https://github.com/memgraph/rsmgclient.git
cd ./rsmgclient
git submodule update --init
cargo build  # within rsmgclient repo

Error:


error: could not find native static library `mgclient`, perhaps an -L flag is missing?

warning: `rsmgclient` (lib) generated 6 warnings
error: could not compile `rsmgclient` (lib) due to 1 previous error; 6 warnings emitted