Jean-Philippe Bernardy wrote:

The following happened to Johannes Waldmann as trying to run yi, which
embeds the GHC api to dynamically load code.

[EMAIL PROTECTED]:~> 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

_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to