Linking Problem, ghc 5.02: cannot find -lreadline

Dear all, After a long time I decided to start using Haskell again:-) I've downloaded rpm sources (RPMs for SuSE Linux 7.3 (i386, glibc 2.2) from Ralf Hinze: base and docs RPM, and profiling libraries RPM.) from the ghc site and installed them. The only problem I had was that I had to re-install gmp using rpm. So that was great. When I tried to compile some large program I was delighted to see that all object files got created smoothly. At the linking stage I got an error: ''cannot find -lreadline collect2: ld returned 1 exit status'' I couldn't find anything about this on the web or in the mini faq. Anybody there to give me a quick hint how to get around this? Regards, Marc van Dongen -- Marc van Dongen | dongen@cs.ucc.ie | Computer Science Department | Western Road | () ASCII ribbon campaign University College Cork | Cork, Ireland | /\ against HTML mail phone: +353 (0)21 4903578 | fax: 4903978 |

tis 2002-02-05 klockan 11.53 skrev Marc van Dongen:
When I tried to compile some large program I was delighted to see that all object files got created smoothly.
At the linking stage I got an error: ''cannot find -lreadline collect2: ld returned 1 exit status''
I couldn't find anything about this on the web or in the mini faq.
Anybody there to give me a quick hint how to get around this?
Install the readline-devel package. Regards, Martin -- [ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ] Opinions expressed above are mine, and not those of my future employees. SIGBORE: Signature boring error, core dumped

Martin Norbäck (d95mback@dtek.chalmers.se) wrote: : > ''cannot find -lreadline : > collect2: ld returned 1 exit status'' : Install the readline-devel package. Thanks. It now works as a charm. Regards, Marc
participants (2)
-
Marc van Dongen
-
Martin Norbäck