That still didn't do anything. Here's the exact error text I'm getting:
error while loading shared libraries: libedit.so.0: cannot open shared object file: No such file or directory
make[1]: *** [cabal-bin] Error 127
make[1]: Leaving directory `/home/jswaine/ghc/ghc-6.10.1/libraries'
make: *** [stage1] Error 2
Thanks,
James
James Swaine wrote:use export:
> That didn't work. My editline build is in the directory
> /home/jswaine/libedit, with the actual library being in
> /home/jswaine/libedit/lib and the includes being in
> /home/jswaine/libedit/include. So when I invoked the configure script,
> I did it like so:
>
> /.configure LIBRARY_PATH=$LIBRARY_PATH$:/home/jswaine/libedit/lib
> CPATH=CPATH$:/home/jswaine/libedit/include
>
> But still for some reason I get the same error. Am I doing this correctly?
export LIBRARY_PATH=/home/jswaine/libedit/lib
export CPATH=/home/jswaine/libedit/include
./configure
make
(and but your own path first)
Cheers Christian