[Haskell-cafe] ghci and TH cannot: unknown symbol `stat64`
Brandon Allbery
allbery.b at gmail.com
Wed Jul 11 16:47:51 CEST 2012
On Wed, Jul 11, 2012 at 10:25 AM, Michael Snoyman <michael at snoyman.com>wrote:
> test.hs:
> /home/ubuntu/.cabal/lib/persistent-sqlite-1.0.0/ghc-7.4.1/HSpersistent-sqlite-1.0.0.o:
> unknown symbol `stat64'
> test.hs: test.hs: unable to load package `persistent-sqlite-1.0.0'
>
The immediate cause is that some C source file is calling stat() or lstat()
without the right #include files; they go through several levels of
backward compatibility macros that end in different system calls.
Alternately, something is trying to use one of those functions via the FFI
instead of System.Posix.File.
--
brandon s allbery allbery.b at gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120711/52c1f65d/attachment.htm>
More information about the Haskell-Cafe
mailing list