logo       

Head GHCi fails to load package unix: msg#00084

lang.haskell.glasgow.bugs

Subject: Head GHCi fails to load package unix

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
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise