[Haskell] Announce: Yi 0.2.0 released
Simon Marlow
simonmarhaskell at gmail.com
Tue May 22 03:44:35 EDT 2007
Jean-Philippe Bernardy wrote:
> The following happened to Johannes Waldmann as trying to run yi, which
> embeds the GHC api to dynamically load code.
>
>> waldmann at afa:~> yi
>> yi: can't load .so/.DLL for: pthread (/usr/lib/libpthread.so: invalid
>> ELF header)
>
> The error doesn't happen on my system (ubuntu feisty); despite my
> having the exact same /usr/lib/libpthread.so
/usr/lib/libpthread.so is usually a linker script, i.e. a small text file with
instructions for the linker, rather than an ELF shared object. It looks like
the dynamic linker is choking on it in your case, I don't know why. This is
really out of our hands; we just pass the filename of the .so to the system
linker via dlopen(), so perhaps your version of ld.so can't handle linker scripts?
Cheers,
Simon
More information about the Glasgow-haskell-users
mailing list