<div dir="ltr">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.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 5:58 AM, Johannes Waldmann <span dir="ltr"><<a href="mailto:johannes.waldmann@htwk-leipzig.de" target="_blank">johannes.waldmann@htwk-leipzig.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think that "--with-gmp-libraries"<br>
states the location of libgmp that the installed ghc<br>
will use when linking programs.<br>
<br>
Your error indicates that a .so file referenced<br>
from the executable (contained in the binary package)<br>
"utils/ghc-pwd/dist-install/build/tmp/ghc-pwd"<br>
could not be resolved.<br>
<br>
$ ldd utils/ghc-pwd/dist-install/build/tmp/ghc-pwd<br>
<br>
if it says  ... libgmp.so.3 => not found<br>
then set LD_LIBRARY_PATH<br>
or check values in /etc/ld.so.conf and run /sbin/ldconfig<br>
<br>
- J.W.<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br></div>