-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running -sys crate's test fails on nightly #71
Comments
Forgot to give nightly version:
|
nbigaouette-eai
added a commit
to nbigaouette-eai/rust
that referenced
this issue
Mar 17, 2017
A change in cargo nightly (merged on February 7th 2017) changed how dynamic libraries are loaded. This prevented the `tensorflow-sys` crate's tests to run. To fix, simply copy the `libtensorflow.so` pre-built library to `OUT_DIR` and change `cargo:rustc-link-search=` path so cargo can find it when running the tests. See: * issue: tensorflow#71 * cargo's pull request: rust-lang/cargo#3651
nbigaouette-eai
added a commit
to nbigaouette-eai/rust
that referenced
this issue
Mar 17, 2017
A change in cargo nightly (merged on February 7th 2017) changed how dynamic libraries are loaded. This prevented the `tensorflow-sys` crate's tests to run. To fix, simply copy the `libtensorflow.so` pre-built library to `OUT_DIR` and change `cargo:rustc-link-search=` path so cargo can find it when running the tests. See: * issue: tensorflow#71 * cargo's pull request: rust-lang/cargo#3651
PR #72 fixes this. Closing. |
ramon-garcia
pushed a commit
to ramon-garcia/tensorflow-rust
that referenced
this issue
May 20, 2023
* As part of tensorflow#69 refactor to break views from core dataset manipulation * tensorflow#69 Allow for navigatable data sets that are wide
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running tests for the
tensorflow-sys
crate fails on nightly, even though it works on stable.This is using the pre-built binary, so
libtensorflow.so
is located intensorflow-sys/target/libtensorflow-cpu-linux-x86_64-1.0.0/lib/libtensorflow.so
.Running the test passes using the stable 1.16:
Could this be related to rust-lang/cargo#2478 ? In that case using
cargo:rustc-link-search=native={}
instead ofcargo:rustc-link-search={}
should fix this. Unfortunately, it doesn't.I'm not sure how to fix this...
This is on master (8bd62df).
The text was updated successfully, but these errors were encountered: