[Haskell-cafe] ghci and TH cannot: unknown symbol `stat64`
michael at snoyman.com
Thu Jul 12 18:20:39 CEST 2012
On Jul 12, 2012 7:13 PM, "Tristan Ravitch" <travitch at cs.wisc.edu> wrote:
> 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?
I don't think so. The test case I put together had nothing to do with
sqlite. Also, persistent-sqlite will either use sqlite.so _or_ the included
sqlite3.c file (based on a compile-time flag). The former works perfectly,
only the latter causes problems.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Haskell-Cafe