ghc for SuSE. Reply

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


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.

-----------------
Serge Mechveliani
mechvel at botik.ru


More information about the Glasgow-haskell-users mailing list