
13 Sep
2009
13 Sep
'09
11:25 a.m.
On Tue, Aug 25, 2009 at 11:20:17PM -0300, Maurício CA wrote:
I just checked it seems not to be possible to load any module in GHCi that uses FFI to wrap the standard C function 'atexit'. When trying that, we get a message saying the symbol 'atexit' can't be found. (This is not a problem when building an executable with ghc, though.)
It looks like the problem is that atexit is defined in the static library /usr/lib/libc_nonshared.a. I think you'll have to make a C wrapper for it in your package. Thanks Ian