ghci - relocation error : libreadline

Simon Marlow simonmar at microsoft.com
Wed Jun 29 04:44:49 EDT 2005


On 28 June 2005 16:09, alexandre wrote:

> I just installed GHC 6.4 from RPM on a Linux/Mandriva 10.1.
> When i try to start GHCI i get the following error message :
>
************************************************************************
> GHC Interactive, version 6.4, for Haskell 98.
> Loading package base-1.0 ... linking ... done.
> /usr/lib/ghc-6.4/ghc-6.4: relocation error: /usr/lib/libreadline.so.5:
> symbol __sprintf_chk, version GLIBC_2.3.4 not defined in file
> libc.so.6 with link time reference
>
************************************************************************
> Could someone help me solve this problem ? For the GHC RPM
> installation, i had to install readline 5 first, so i now have two
> version of readline on my system : 4.3 and 5 (... and a lot of
> application depending on 4.3). 

Did that error message result from a plain 'ghci' command, or were there
any other options?

My guess is that libreadline.so.5 is depending on a later (or earlier?)
version of libc than the one you have.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list