Head GHCi fails to load package unix
wld
volodimir.rudenko at gmail.com
Sun Feb 26 19:55:32 EST 2006
GHC built from Darcs head fails to load the package 'unix'.
$ ./ghc-inplace --interactive -package unix
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.5, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base-1.0 ... linking ... done.
Loading package unix-1.0 ... linking ... ghc-6.5:
/home/wld/test/fp/libraries/unix/HSunix.o: unknown symbol `lstat'
ghc-6.5: unable to load package `unix-1.0'
The small test of using 'lstat' compiles and links fine
with 'ghc-inplace --make'.
import System.Posix.Files
main = getSymbolicLinkStatus "Test.hs" >>= return . linkCount >>= print
My environment:
Linux 2.6.15
gcc 4.0
glibc 2.3.5
--
V.Rudenko
More information about the Glasgow-haskell-bugs
mailing list