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

library not found for -lLLVMSystemZCodeGen #52

Closed
arnim opened this issue Nov 6, 2013 · 2 comments
Closed

library not found for -lLLVMSystemZCodeGen #52

arnim opened this issue Nov 6, 2013 · 2 comments

Comments

@arnim
Copy link

arnim commented Nov 6, 2013

$ brew install --HEAD julia
Warning: A newer Command Line Tools release is available
You should install the latest version from:
https://developer.apple.com/downloads
==> Using Homebrew-provided fortran compiler.
This may be changed by setting the FC environment variable.
==> Cloning https://github.com/JuliaLang/julia.git
Updating /Library/Caches/Homebrew/julia--git
==> Downloading patches

################################################################## 100,0%

==> Patching
patching file deps/Makefile
Hunk #1 succeeded at 1234 (offset 580 lines).
==> Building with an alternative Fortran compiler
This is unsupported.
==> Downloading http://double-conversion.googlecode.com/files/double-conversion-1.1.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/double-conversion-1.1.1.tar.gz
==> Using double-conversion: /Library/Caches/Homebrew/double-conversion-1.1.1.tar.gz
==> Downloading http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/dSFMT-src-2.2.tar.gz
Already downloaded: /Library/Caches/Homebrew/dSFMT-src-2.2.tar.gz
==> Using DSFMT: /Library/Caches/Homebrew/dSFMT-src-2.2.tar.gz
==> make -C contrib -f repackage_system_suitesparse4.make PREFIX=/usr/local/Cellar/julia/HEAD USE_BLAS64=0 FC=/usr/local/bin/gfortran USECLANG=1 LIBBLAS=-lopen
==> make release PREFIX=/usr/local/Cellar/julia/HEAD USE_BLAS64=0 FC=/usr/local/bin/gfortran USECLANG=1 LIBBLAS=-lopenblas LIBBLASNAME=libopenblas LIBLAPACK=-l
ld: library not found for -lLLVMSystemZCodeGen
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/private/tmp/julia-mTPs/usr/lib/libjulia.dylib] Error 1
make[1]: *** [julia-release] Error 2
make: *** [release] Error 2

@staticfloat
Copy link
Owner

Do you have any other LLVM libraries on your computer that could be interfering with Homebrew's LLVM libraries? (I believe that Anaconda can cause errors such as this) Also, what do brew doctor and brew --config say?

@arnim
Copy link
Author

arnim commented Nov 6, 2013

Indeed removing anaconda from the PATH solved it

Thanks a lot ;)

@arnim arnim closed this as completed Nov 6, 2013
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

2 participants