Johannes Waldmann | 7 Oct 12:54
Favicon

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

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

Best regards, J.W.

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users <at> haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Simon Marlow | 7 Oct 14:22

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

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,
(Continue reading)


Gmane