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 [EMAIL PROTECTED] _______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs