[Haskell-cafe] Trouble installing ghc on CentOS 6

Johannes Waldmann johannes.waldmann at htwk-leipzig.de
Tue Dec 15 13:58:18 UTC 2015


I think that "--with-gmp-libraries"
states the location of libgmp that the installed ghc
will use when linking programs.

Your error indicates that a .so file referenced
from the executable (contained in the binary package)
"utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"
could not be resolved.

$ ldd utils/ghc-pwd/dist-install/build/tmp/ghc-pwd

if it says  ... libgmp.so.3 => not found
then set LD_LIBRARY_PATH
or check values in /etc/ld.so.conf and run /sbin/ldconfig

- J.W.


More information about the Haskell-Cafe mailing list