
Aha! That *seems* to have fixed the problem with libedit.so.0. Now ghc is
complaining about something else:
grep: packages: No such file or directory
make -C libraries boot
make[1]: Entering directory `/home/jswaine/ghc/ghc-6.10.1/libraries'
mkdir bootstrapping
mkdir: cannot create directory `bootstrapping': File exists
make[1]: [cabal-bin] Error 1 (ignored)
/home/jswaine/ghc/ghc-6.10.1/ghc/ghc -Wall -DCABAL_VERSION=1,6,0,1 -odir
/home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping -hidir
/home/jswaine/ghc/ghc-6.10.1/libraries/bootstrapping
-i/home/jswaine/ghc/ghc-6.10.1/libraries/Cabal
-i/home/jswaine/ghc/ghc-6.10.1/libraries/filepath
-i/home/jswaine/ghc/ghc-6.10.1/libraries/hpc --make cabal-bin -o cabal-bin
ghc: missing -B<dir> option
make[1]: *** [cabal-bin] Error 1
make[1]: Leaving directory `/home/jswaine/ghc/ghc-6.10.1/libraries'
make: *** [stage1] Error 2
Thanks!
-James
On Wed, Nov 12, 2008 at 12:01 PM, Christian Maeder wrote: James Swaine wrote: 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
use export: and
export LD_LIBRARY_PATH=/home/jswaine/libedit/lib Are you sure /home/jswaine/libedit/lib/libedit.so.0 is a valid file? C.