Missing symbol when loading cbits in ghci
Don Stewart
dons at galois.com
Tue Jul 1 17:09:04 EDT 2008
Anyone seen this?
$ ghci A.hs
Prelude Main> main
<interactive>:
/home/dons/.cabal/lib/download-0.3/ghc-6.8.2/HSdownload-0.3.o:
unknown symbol `stat64'
ghc-6.8.2: unable to load package `download-0.3'
I can compile and link code against HSdownload just fine,
but loading in ghci fails with state64 undefined (a kernel symbol).
To reproduce:
$ cabal update
$ cabal install download
$ ghci
Prelude> :m + Network.Download
Prelude Network.Download> openURI "http://haskell.org"
<interactive>:
/home/dons/.cabal/lib/download-0.3/ghc-6.8.2/HSdownload-0.3.o: unknown
symbol `stat64'
ghc-6.8.2: unable to load package `download-0.3'
Is this something that ghci should know about on linux? Or can anyone
think of another reason why ghci can't see stat64?
-- Don
More information about the Glasgow-haskell-bugs
mailing list