[Haskell-cafe] ghci and TH cannot: unknown symbol `stat64`

Tristan Ravitch travitch at cs.wisc.edu
Thu Jul 12 18:13:36 CEST 2012


On Thu, Jul 12, 2012 at 11:07:05AM -0500, Tristan Ravitch wrote:
> Are you trying this on a 32 bit system?  And when you compiled that C
> program, did you try to add
>
>   -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
>
> to the compile command?  When I define those the resulting object file
> from your example correctly references stat64 instead of stat.

Er sorry, saw your earlier email now.  Could this be a mismatch
between how your sqlite.so is compiled and how the cbits in
persistent-sqlite are compiled, particularly with largefile support?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120712/47bbdd1f/attachment.pgp>


More information about the Haskell-Cafe mailing list