ghc-6.10.0.20081005 binary refers to (non existent?) libedit.so.0

Simon Marlow marlowsd at gmail.com
Tue Oct 7 08:22:45 EDT 2008


Johannes Waldmann wrote:
> Dear all,
> 
> I tried to install the binary snapshot on Debian (etch) x86_64 and got:
> 
> /usr/local/lib/ghc-6.10.0.20081005/ghc: error while loading shared
> libraries: libedit.so.0: cannot open shared object file: No such file or
> directory
> 
> I do have libedit (I think):
> 
> lrwxrwxrwx 1 root root     14 2007-11-30 16:01 /usr/lib/libedit.so.2 ->
> libedit.so.2.9
> -rw-r--r-- 1 root root 140640 2006-03-19 15:26 /usr/lib/libedit.so.2.9
> 
> This is the right package?
> 
> dpkg -l "libedit*"
> ...
> ii  libedit2         2.9.cvs.20050518 BSD editline and history libraries

For some reason it seems that Fedora and Debian are using different 
versions of the libedit shared library.  Our binary installers are build on 
Fedora.  For the release we'll probably have two binary distributions, one 
for Fedora and one for Debian(-based) systems.

You might be able to get away with symlinking libedit.so.0 to libedit.so.2 
in the meantime.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list