-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi @staticfloat.
I just did a brew update, which lead to a new version of gcc (I am now using version 7.10 apparently). Now I get linear algebra warnings when I start julia, like this:
tcovert-imac:~ tcovert$ julia
WARNING: Error during initialization of module LinAlg:
ErrorException("could not load library "libopenblas"
dlopen(libopenblas.dylib, 1): Library not loaded: /usr/local/opt/gcc/lib/gcc/6/libgfortran.3.dylib
Referenced from: /usr/local/opt/openblas-julia/lib/libopenblas.dylib
Reason: image not found")
WARNING: Error during initialization of module CHOLMOD:
ErrorException("could not load library "libcholmod"
dlopen(libcholmod.dylib, 1): Library not loaded: /usr/local/opt/gcc/lib/gcc/6/libgfortran.3.dylib
Referenced from: /usr/local/opt/openblas-julia/lib/libopenblasp-r0.2.19.dylib
Reason: image not found")
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.5.1 (2017-03-05 13:25 UTC)
_/ |\__'_|_|_|\__'_| | homebrew-julia release
|__/ | x86_64-apple-darwin16.4.0
julia>
My guess is that the only thing that needs to change is for julia to look for libgfortran in /usr/local/opt/gcc/lib/gcc/7/ instead of /usr/local/opt/gcc/lib/gcc/6/ but I don't know how to make that happen.
I tried uninstalling julia, arpack-julia, suite-sparse-julia and openblas-julia, and re-installing, but the error persists. FWIW I had a similar problem with R this morning and I solved it by re-building it from source, which I guess is not possible with julia home-brew?
Any advice? Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels