Skip to content

Cannot find shared library on cargo test --doc #229

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

Closed
termoshtt opened this issue Jul 23, 2020 · 3 comments
Closed

Cannot find shared library on cargo test --doc #229

termoshtt opened this issue Jul 23, 2020 · 3 comments
Milestone

Comments

@termoshtt
Copy link
Member

https://github.com/rust-ndarray/ndarray-linalg/pull/227/checks?check_run_id=902046181

running 7 tests
test src/krylov/mod.rs - krylov::Orthogonalizer (line 51) ... FAILED
test src/cholesky.rs - cholesky (line 12) ... FAILED
test src/solve.rs - solve (line 31) ... FAILED
test src/least_squares.rs - least_squares (line 28) ... FAILED
test src/solve.rs - solve (line 7) ... FAILED
test src/solveh.rs - solveh (line 10) ... FAILED
test src/solveh.rs - solveh (line 35) ... FAILED

failures:

---- src/krylov/mod.rs - krylov::Orthogonalizer (line 51) stdout ----
Test executable failed (exit code 127).

stderr:
/tmp/rustdoctestDSRkP2/rust_out: error while loading shared libraries: libmkl_intel_lp64.so: cannot open shared object file: No such file or directory
@termoshtt
Copy link
Member Author

This will be fixed in #204 by linking statically

@termoshtt
Copy link
Member Author

This has been fixed by #204, which also reverts #231

@olson-sean-k
Copy link

Thanks for working on this and implementing a fix! I've been seeing these errors in my continuous integration and local doctests since Rust 1.45 entered beta. Do you have a guess for when these changes might be released?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants