Last active
August 29, 2015 14:01
-
-
Save ihji/60cc4ccf6cc075b895ca to your computer and use it in GitHub Desktop.
brew configuration log for ghc dynamic linking error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew doctor | |
Warning: No developer tools installed. | |
Install the Command Line Tools: | |
xcode-select --install | |
Warning: Your Homebrew is not installed to /usr/local | |
You can install Homebrew anywhere you want, but some brews may only build | |
correctly if you install in /usr/local. Sorry! | |
Warning: Some installed formula are missing dependencies. | |
You should `brew install` the missing dependencies: | |
brew install cloog gcc isl libmpc mpfr | |
Run `brew missing` for more details. | |
$ brew missing | |
ghc: mpfr libmpc isl cloog gcc | |
$ brew --config | |
HOMEBREW_VERSION: 0.9.5 | |
ORIGIN: https://github.com/Homebrew/homebrew.git | |
HEAD: f3a797c1ac650caaa9db63b376030c6f1afb8b1a | |
HOMEBREW_PREFIX: /Users/ihji/.homebrew | |
HOMEBREW_CELLAR: /Users/ihji/.homebrew/Cellar | |
CPU: 8-core 64-bit sandybridge | |
OS X: 10.9.3-x86_64 | |
Xcode: 5.1.1 | |
Clang: 5.1 build 503 | |
X11: 2.7.5 => /opt/X11 | |
System Ruby: 1.8.7-358 | |
Perl: /usr/bin/perl | |
Python: /Users/ihji/.homebrew/bin/python => /Users/ihji/.homebrew/Cellar/python/2.7.6_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7 | |
Ruby: /Users/ihji/.homebrew/bin/ruby => /Users/ihji/.homebrew/Cellar/ruby/2.1.2/bin/ruby | |
$ otool -L /Users/ihji/.homebrew/Cellar/ghc/7.8.2_2/lib/ghc-7.8.2/bin/ghc | |
/Users/ihji/.homebrew/Cellar/ghc/7.8.2_2/lib/ghc-7.8.2/bin/ghc: | |
@rpath/libHShaskeline-0.7.1.2-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSterminfo-0.4.0.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSghc-7.8.2-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHStransformers-0.3.0.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHStemplate-haskell-2.9.0.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHShpc-0.6.0.1-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHShoopl-3.10.0.1-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSbin-package-db-0.0.0.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSbinary-0.7.1.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSCabal-1.18.1.3-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSprocess-1.2.0.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSpretty-1.1.1.1-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHScontainers-0.5.5.1-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSdirectory-1.2.1.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSunix-2.7.0.1-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHStime-1.4.2-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSold-locale-1.0.0.6-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSfilepath-1.3.0.2-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSbytestring-0.10.4.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSdeepseq-1.3.0.2-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSarray-0.5.0.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSbase-4.7.0.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSinteger-gmp-0.5.1.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSghc-prim-0.3.1.0-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libHSrts_thr-ghc7.8.2.dylib (compatibility version 0.0.0, current version 0.0.0) | |
@rpath/libffi.dylib (compatibility version 7.0.0, current version 7.0.0) | |
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) | |
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1) | |
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0) | |
/Users/ihji/.homebrew/lib/libgmp.10.dylib (compatibility version 13.0.0, current version 13.0.0) | |
$ ls -al /Users/ihji/.homebrew/lib/libgmp.10.dylib | |
lrwxr-xr-x 1 ihji staff 40 May 15 11:00 /Users/ihji/.homebrew/lib/libgmp.10.dylib@ -> ../Cellar/gmp/6.0.0a/lib/libgmp.10.dylib | |
$ ghci | |
GHCi, version 7.8.2: http://www.haskell.org/ghc/ :? for help | |
Loading package ghc-prim ... linking ... done. | |
Loading package integer-gmp ... <command line>: can't load .so/.DLL for: libgmp.dylib (dlopen(libgmp.dylib, 9): image not found) | |
$ DYLD_LIBRARY_PATH=/Users/ihji/.homebrew/lib ghci | |
GHCi, version 7.8.2: http://www.haskell.org/ghc/ :? for help | |
Loading package ghc-prim ... linking ... done. | |
Loading package integer-gmp ... linking ... done. | |
Loading package base ... linking ... done. | |
Prelude> | |
Leaving GHCi. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment