ghc for SuSE. Reply
Simon Marlow
simonmarhaskell at gmail.com
Mon Mar 20 06:39:47 EST 2006
Serge D. Mechveliani wrote:
> To my request on GHC-6.4.1 for SuSE 10.0
>
> Christian Maeder <maeder at tzi.de> writes on 17 Mar 2006
>
>
>>>First, we install it to the system area from binary found on the GHC www
>>>page as
>>> Binary x86, Generic Linux with glib 2.3.
>
>
>>This binary is not for a 64 bit arch, I think.
>
>
>>>/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lreadline
>
>
>>you may try:
>>http://www.haskell.org/ghc/dist/6.4.1/ghc-6.4.1-x86_64-unknown-linux.tar.bz2
>
>
>
> Thank you.
> I have installed it to my user directory.
>
> Now, again, it reports
> ---------
> ghc $doconCpOpt --make Main
> Chasing modules from: Main
> Skipping Main ( Main.hs, Main.o )
> Linking ...
> /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lreadline
> collect2: ld returned 1 exit status
> ----------
>
> > which ghc
>
> /home/mechvel/ghc/6.4.1/binary/inst/bin/ghc
>
> -- this is of ghc-6.4.1-x86_64-unknown-linux.tar.bz2 .
> There also is visible
>
> /home/mechvel/ghc/6.4.1/binary/inst/lib/ghc-6.4.1/libHSreadline.a
>
> But it, probably, searches for shared library in other place.
> Maybe, we need to remove this old
> ghc- x86 Generic Linux with glib 2.3,
>
> to think of path, etc. We shall try.
You probably need to install the readline-devel RPM on your system. GHC
is looking for the readline library, and not finding it.
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list