osmosis-labs / test-tube

Test tube for cosmos-sdk chains integration test, written in Rust!
Apache License 2.0
53 stars 31 forks source link

Error on run custom build #39

Closed Rhaki closed 11 months ago

Rhaki commented 1 year ago

Adding osmosis-test-tube = "16.1.2" to Cargo.toml involve into this error:

   Compiling osmosis-test-tube v16.1.2
error: failed to run custom build command for `osmosis-test-tube v16.1.2`

Caused by:
  process didn't exit successfully: `/root/simmetry/target/debug/build/osmosis-test-tube-42e715c7e7e407f6/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=./libosmosistesttube
  cargo:rustc-link-search=native=/root/simmetry/target/debug/build/osmosis-test-tube-e15027d09411ff04/out
  cargo:rustc-link-lib=dylib=osmosistesttube

  --- stderr
  thread 'main' panicked at 'Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"', /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bindgen-0.60.1/src/lib.rs:2172:31
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Any workaround?

iboss-ptk commented 11 months ago

you might want to try install clang with your platform pkg manager. Which OS is it?

iboss-ptk commented 11 months ago

close due to inactivity, please reopen if problem persist