`cannot find -lreadline'
S.D.Mechveliani
mechvel at math.botik.ru
Tue Jan 22 09:24:10 EST 2002
Dear ghc-5.02.2 (linux-i386-unknown, binary snapshot for libc-2.1),
For the program main = putStr $ show $ (2+3 :: Int)
ghc --make Main
`makes' it all right.
And ghci -package docon Main
also works.
docon is my user package, with .hi files, .o, .a libraries
gathered in certain directory.
And ghc -package docon --make Main
yields
ghc-5.02.2: chasing modules from: Main
Skipping Main ( Main.hs, ./Main.o )
ghc: linking ...
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status
How to fix this thing?
Does this error refer to libreadline.so.3 ?
When installing binary ghc, I made a link for libreadline.so.3.
-----------------
Serge Mechveliani
mechvel at botik.ru
More information about the Glasgow-haskell-bugs
mailing list