staticfloat / homebrew-julia

small repository to install julia
221 stars 35 forks source link

WARNING: Error during initialization of module CHOLMOD: #227

Closed ghazel closed 7 years ago

ghazel commented 7 years ago

This error #188 seems to have resurfaced.

WARNING: Error during initialization of module CHOLMOD:
ErrorException("could not load library "libcholmod"
dlopen(libcholmod.dylib, 1): Library not loaded: /usr/local/opt/openblas-julia/lib/libopenblasp-r0.2.19.dylib
  Referenced from: /usr/local/Cellar/julia/0.5.0/lib/julia/libcholmod.dylib
  Reason: image not found")
ghazel commented 7 years ago

Similar to what was recommended here: #208

This worked:

$ brew rm -f openblas-julia
Error: Refusing to uninstall /usr/local/Cellar/openblas-julia/0.2.19
because it is required by arpack-julia 3.3.0_4, julia 0.5.0, suite-sparse-julia 4.4.6_2, which are currently installed.
You can override this and force removal with:
  brew uninstall --ignore-dependencies openblas-julia

$ brew uninstall --ignore-dependencies openblas-julia
Uninstalling /usr/local/Cellar/openblas-julia/0.2.19... (17 files, 41.8M)

$ brew install openblas-julia
==> Installing openblas-julia from staticfloat/julia
==> Downloading https://juliabottles.s3.amazonaws.com/openblas-julia-0.2.19.sierra.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring openblas-julia-0.2.19.sierra.bottle.1.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

Conflicts with openblas in homebrew-science.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/openblas-julia/lib
    CPPFLAGS: -I/usr/local/opt/openblas-julia/include

==> Summary
🍺  /usr/local/Cellar/openblas-julia/0.2.19: 17 files, 148.6
staticfloat commented 7 years ago

Glad you got it working, @ghazel!