Hello, 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 Does anyone have a clue? Cheers, JP. On 5/18/07, Johannes Waldmann <[EMAIL PROTECTED]> wrote:
Hello. I tried to build yi. It lists "gtk" as prerequisite but the package is actually called "gtk2hs" (but it provides gtk?)
Then compile works fine, but on starting "yi" I get [EMAIL PROTECTED]:~> yi yi: can't load .so/.DLL for: pthread (/usr/lib/libpthread.so: invalid ELF header) and indeed: [EMAIL PROTECTED]:~> cat /usr/lib/libpthread.so /* GNU ld script Use the shared library, but some functions are only in the static library, so try that secondarily. */ OUTPUT_FORMAT(elf32-i386) GROUP ( /lib/libpthread.so.0 /usr/lib/libpthread_nonshared.a )
_______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users