-
Notifications
You must be signed in to change notification settings - Fork 4
Cannot find Julia's OpenBLAS #3
Comments
This should hopefully be fixed by #6. Note you'll need to build a new version of |
So the good news is that this now works on 0.6. The bad news is that it fails on 0.7 with julia> Libdl.dlopen("/Users/andreasnoack/.julia/v0.7/Arpack/deps/usr/lib/libarpack.dylib")
ERROR: could not load library "/Users/andreasnoack/.julia/v0.7/Arpack/deps/usr/lib/libarpack.dylib"
dlopen(/Users/andreasnoack/.julia/v0.7/Arpack/deps/usr/lib/libarpack.dylib, 1): Library not loaded: @rpath/libopenblas64_p-r0.2.20.dylib
Referenced from: /Users/andreasnoack/.julia/v0.7/Arpack/deps/usr/lib/libarpack.dylib
Reason: image not found
Stacktrace:
[1] dlopen(::String, ::UInt32) at /Users/andreasnoack/julia-dev/usr/share/julia/stdlib/v0.7/Libdl/src/Libdl.jl:99 (repeats 2 times)
[2] top-level scope
julia> Libdl.find_library("libarpack", ["/Users/andreasnoack/.julia/v0.6/Arpack/deps/usr/lib/"])
"" Update: I've pasted the error message from a version of |
Yes, this is expected as it's looking for
This error message looks like it's still looking for To remedy this, I'm rebuilding |
New version of |
This is currently fixed by changing the path downstream. See https://github.com/JuliaLinearAlgebra/ArpackBuilder/blob/2590bfddc91bcc34c2fbdd2b8044c9163c8a0229/build_tarballs.jl#L29-L34. This should probably be fixed upstream in Julia's OpenBLAS build. |
Yes, please open an issue on the main Julia repository and I'll make sure the relevant Makefiles get fixed. |
Done |
My understanding is that it should be possible to use
OpenBLASBuilder
when usingBinaryBuilder
to build a project that needs BLAS and then rely on Julia's OpenBLAS. However, it seems that the libraries are unable to find Julia's OpenBLAS. When tryingdlopen
on Linux I getand on Mac it is
Let me know if you need more details.
The text was updated successfully, but these errors were encountered: