After using ghci to load a library I'm working in, I got this
message:
can't load .so/.DLL for: pthread (/usr/lib/libpthread.so:
invalid ELF header)
Then I did 'cat /usr/lib/libpthread.so' and, much to my surprise,
it's a text file with the following contents:
/* GNU ld script
Use
After using ghci to load a library I'm working in, I got this
message:
can't load .so/.DLL for: pthread (/usr/lib/libpthread.so:
invalid ELF header)
Sorry. Just found ticket on that issue and previous
discussion. Please ignore.
Thanks,
Maurício
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'. (...)
A simple workaround is to just compile the module. (...)
If I build a package (using cabal etc.) and try to load such
package with 'ghci -package name' the
(I left this in cafe, but I think it is actually ghc related.)
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