Re: [Haskell-cafe] Trouble installing ghc on CentOS 6

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.

Thanks! The whole problem was that I had accidentally downloaded the 32-bit version, when I meant to get the 64-bit version. It works without any extra flags beyond --prefix. On Tue, Dec 15, 2015 at 5:58 AM, Johannes Waldmann < johannes.waldmann@htwk-leipzig.de> wrote:
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. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
participants (2)
-
Johannes Waldmann
-
Lyle Kopnicky