
This is a straight forward ld.so path problem, by the sounds of it. Are you sure you're setting ld environment search paths correctly? -- Don james.swaine:
that didn't fix the problem - i still get the same error message. the configure script help should be updated though to show that these two options are available.
thanks, james
On Fri, Nov 14, 2008 at 11:28 AM, Judah Jacobson <[1]judah.jacobson@gmail.com> wrote:
2008/11/13 James Swaine <[2]james.swaine@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
References
Visible links 1. mailto:judah.jacobson@gmail.com 2. mailto:james.swaine@gmail.com
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users