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

readme.md's versions may cause errors on MacOS #77

Closed
Pennswood opened this issue Nov 28, 2021 · 0 comments
Closed

readme.md's versions may cause errors on MacOS #77

Pennswood opened this issue Nov 28, 2021 · 0 comments

Comments

@Pennswood
Copy link

Pennswood commented Nov 28, 2021

If you are using the following dependencies (as suggested by the readme.md file):

blas-src = { version = "0.2.0", default-features = false, features = ["openblas"] } openblas-src = { version = "0.6.0", default-features = false, features = ["cblas", "system"] }

and are getting the following errors:
error: linking with cc failed: exit status: 1 [huge note of directories] = note: ld: library not found for -lgfortran clang: error: linker command failed with exit code 1 (use -v to see invocation)

Use instead:

'ndarray = { version = "0.15.0", features = ["blas"] }
blas-src = { version = "0.8", features = ["openblas"] }
openblas-src = { version = "0.10", features = ["cblas", "system"] }
'

seems have have solved the issue for me on MacOS.

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

1 participant