Skip to content
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

Linker errors on example program #39

Open
acgetchell opened this issue Dec 7, 2022 · 9 comments
Open

Linker errors on example program #39

acgetchell opened this issue Dec 7, 2022 · 9 comments

Comments

@acgetchell
Copy link

Hello,

I'm using this crate and the example program fails due to linker issues.

Suggestions?

Sorry, I'm fairly new to Rust.

@IvanUkhov
Copy link
Member

Hello! From the first look, a backend is missing. The choice of the backend is left up to the end user:

https://github.com/blas-lapack-rs/blas-lapack-rs.github.io/wiki

Does this resolve the issue?

@acgetchell
Copy link
Author

After making the suggested changes:

acgetchell/rust-blas@44fa075

I still get a pretty long stack trace:

https://gist.github.com/acgetchell/2369212198b92ecc23ec01d0ba5c22b1

@termoshtt
Copy link
Member

ld: warning: object file (../libopenblas_neoversen2p-r0.3.20.a(lapacke_make_complex_double.o)) was built for newer macOS version (11.0) than being linked (10.8)

Looks an issue for macOS with ARM64.

@termoshtt
Copy link
Member

Similar comment exists on OpenBLAS repo
OpenMathLib/OpenBLAS#3032 (comment)

@IvanUkhov
Copy link
Member

@termoshtt, but then it should have already been fixed in the latest version of OpenBLAS, or has it not yet been released?

@termoshtt
Copy link
Member

I am working for OpenBLAS 0.3.21 blas-lapack-rs/openblas-src#92, it has been merged to master, but readying to publish.

Could you test the master branch using

[dependencies]
openblas-src = { git = "https://github.com/blas-lapack-rs/openblas-src" }

@IvanUkhov
Copy link
Member

Thank you for taking care of this!

@acgetchell
Copy link
Author

acgetchell commented Dec 10, 2022

@acgetchell
Copy link
Author

acgetchell commented Dec 10, 2022

acgetchell added a commit to acgetchell/rust-blas that referenced this issue Dec 10, 2022
blas-lapack-rs/blas#39 is resolved.

Add back Windows in CI to look at vcpkg issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants