Coder Social home page Coder Social logo

build problem about rdma-sys HOT 3 OPEN

mond77 avatar mond77 commented on July 4, 2024
build problem

from rdma-sys.

Comments (3)

pwang7 avatar pwang7 commented on July 4, 2024

newer version should be fine

from rdma-sys.

dhzzy88 avatar dhzzy88 commented on July 4, 2024

OS only suport debian ?

`# yum install libibverbs
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • epel: mirrors.tuna.tsinghua.edu.cn
    Package libibverbs-22.4-6.el7_9.x86_64 already installed and latest version
    Nothing to do

cargo build --release

Compiling rdma-sys v0.3.0 (/root/rdma-sys)
error: failed to run custom build command for rdma-sys v0.3.0 (/root/rdma-sys)

Caused by:
process didn't exit successfully: /root/rdma-sys/target/release/build/rdma-sys-46b594d936f92173/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=LIBIBVERBS_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

--- stderr
thread 'main' panicked at 'please install libibverbs-dev 1.8.28)', build.rs:10:41
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace`

from rdma-sys.

GTwhy avatar GTwhy commented on July 4, 2024

Hi, @dhzzy88
Maybe you can install the lib on redhat by running

sudo yum install libibverbs-devel

The "libibverbs-dev" is the package name on debian, and it named "libibverbs-devel" on redhat.
I think the build script will find the lib with the lib name "libibvers".
We can add more tips in the code if you try it successfully.

from rdma-sys.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.