more libedit.so.0 issues

Judah Jacobson judah.jacobson at gmail.com
Fri Nov 14 12:28:27 EST 2008


2008/11/13 James Swaine <james.swaine at gmail.com>:
> 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


More information about the Glasgow-haskell-users mailing list