I'm trying to compile some Haskell code using Debian package ghc5,
and it fails to find -lreadline at link time.  Looks like a config
problem because hte library is sitting there in /lib.

I'm cc-ing the GHC bug list even though this looks to me like a Debian
problem.



Hope this info is what you need.

Norman



: nr@flatcoat 56 ; dpkg -s ghc5
Package: ghc5
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 54168
Maintainer: Michael Weber <[EMAIL PROTECTED]>
Version: 5.02.2-1
Provides: haskell-compiler, ghc
Depends: perl | perl5, gcc, libgmp3-dev, libc6 (>= 2.2.4-4), libgmp3, libncurses5 (>= 
5.2.20020112a-1), libreadline4 (>= 4.2a-4)
Suggests: ghc5-prof, ghc5-doc, haskell-doc
Conflicts: ghc4 (<= 4.08.1-4)
Description: GHC - the Glasgow Haskell Compilation system
 Version 5 of the Glorious Glasgow Haskell Compilation system (GHC). GHC is
 a compiler for Haskell98.
 .
 Haskell is "the" standard lazy functional programming language. Haskell98
 is the current version of the language. The language definition and
 additional documentation can be found in the `haskell-doc' package.
 Alternatively, there is an online version at
 http://haskell.org/onlinereport/.




: nr@flatcoat 58 ; ghc  -package text -package data Main.o 
/usr/bin/ld: cannot find -lreadline
collect2: ld returned 1 exit status

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to