-
Notifications
You must be signed in to change notification settings - Fork 78
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
macOS High Sierra Linking Fails #120
Comments
The feature "openblas" builds OpenBLAS in a temporal directory, which is not match for your use case. To link existing library, please link backend LAPACK library using |
I think I might be running into the issue noted here: I have produced a very minimal crate for which I have not been able to resolve compilation issues: https://github.com/bbrener1/dylib_linking_test Briefly, these are the only contents of the crate: Cargo.toml:
src/main.rs:
Currently this returns the following error:
Perhaps this is occurring because openblas is installed in ~/miniconda3/pkgs/... and cargo is changing LD_LIBRARY_PATH ? I suspect this is the case because when I reconfigure this same crate to instead use intel-mkl-src, it compiles successfully, and moreover executes successfully using cargo run. However, if the executable itself is called, an error is returned stating
Thank you for your help EDIT (by @termoshtt): Fix markdown |
Please drop this feature
Please add the library path in miniconda both |
Please reopen if not resolved |
Encountering problems when building with ndarray-linalg as a dependency
Versions:
OSX: 10.13.4 (17E199)
clang: Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.5.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
blas and openblas installed via conda, versions are:
blas 1.0 openblas anaconda
openblas 0.3.3 3 anaconda
openblas-devel 0.3.3 3 anaconda
gfortran was installed via homebrew:
Error text is as follows:
Cargo.toml is:
Please advise on options, so far I have solved this by creating a symlink in usr/local/bin for cc to link to G++-8, however this is terrifying and terrible, and I would like another way to solve. Issue doesn't appear to be platform dependent, as this build also fails on Ubuntu.
EDIT(by @termoshtt): Fix markdown
The text was updated successfully, but these errors were encountered: