GHC 6.8.1 on Mac OS 10.5 Leopard (Intel) - Configure fails

Christian Maeder Christian.Maeder at dfki.de
Tue Dec 11 08:47:27 EST 2007


Carsten Keßler wrote:
> I'm now using the binaries from
> 
>> http://www.haskell.org/ghc/dist/6.8.1/chakravarty/ghc-6.8.1-i386-apple-darwin.tar.bz2
>>
> 
> Configure still runs without problems, but now I get a new error during
> make install:
> 
> /Users/Carsten/Desktop/ghc-6.8.1/utils/ghc-pkg/ghc-pkg.bin --global-conf
> /Library/GHC/lib/ghc-6.8.1/package.conf update - --force
> dyld: Library not loaded: /opt/local/lib/libgmp.3.dylib
>   Referenced from:
> /Users/Carsten/Desktop/ghc-6.8.1/utils/ghc-pkg/ghc-pkg.bin
>   Reason: image not found

Right, you need to install gmp from MacPorts, too, because chakravarty's
 binary still depends on it. (although gmp was integrated?)

Christian

otool -L utils/ghc-pkg/ghc-pkg.bin
utils/ghc-pkg/ghc-pkg.bin:
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
        /opt/local/lib/libgmp.3.dylib (compatibility version 8.0.0,
current version 8.1.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)

otool -L compiler/stage2/ghc-6.8.1
compiler/stage2/ghc-6.8.1:
        /opt/local/lib/libreadline.5.2.dylib (compatibility version
5.0.0, current version 5.2.0)
        /opt/local/lib/libncurses.5.dylib (compatibility version 5.0.0,
current version 5.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
        /opt/local/lib/libgmp.3.dylib (compatibility version 8.0.0,
current version 8.1.0)
        /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current
version 1.0.0)


More information about the Glasgow-haskell-users mailing list