We&#39;ve had unbelievable problems getting past this ridiculous &#39;unable to load object file or shared library libedit.so.0&#39; error when attempting to build the 6.10.1 source tree.&nbsp; We initially just built editline in a user directory and attempted to manipulate environment variables to help the linker (e.g. setting LIBRARY_PATH, LD_LIBRARY_PATH, and CPATH) - but this did no good. <br>
<br>We then just installed the editline package so it&#39;s available globally and the libraries (specifically libedit.so.0) live in /usr/local/lib, so it should be found with no problem.&nbsp; Not so for ghc - same error.&nbsp; We&#39;re running this on Red Hat. <br>
<br>I&#39;m part of a research group at Northwestern University that is exploring the use of ghc and associated libraries for some upcoming projects.&nbsp; It&#39;s a shame that this is so difficult to even compile/install, and nobody seems to be able to figure out what&#39;s wrong. <br>