
14 Nov
2008
14 Nov
'08
12:28 p.m.
2008/11/13 James Swaine
We've had unbelievable problems getting past this ridiculous 'unable to load object file or shared library libedit.so.0' error when attempting to build the 6.10.1 source tree. 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.
I'm not sure whether this will fix your problem, but if you want to build ghc using a libedit in a nonstandard location, there's an easier solution than setting all of those environmental variables: just configure ghc with (for example) ./configure --with-editline-includes=/opt/local/include --with-editline-libraries=/opt/local/lib -Judah