ghc for SuSE. Reply

Serge D. Mechveliani mechvel at
Fri Mar 17 10:43:20 EST 2006

To my request on  GHC-6.4.1  for SuSE 10.0

Christian Maeder <maeder at> 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:

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


-- this is of  ghc-6.4.1-x86_64-unknown-linux.tar.bz2 .
There also is visible


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.

Serge Mechveliani
mechvel at

More information about the Glasgow-haskell-users mailing list