Skip to content

Unable to install rsmgclient in manylinux container #51

@antejavor

Description

@antejavor

Due to the open issue: #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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions