
Hello, The following happened to Johannes Waldmann as trying to run yi, which embeds the GHC api to dynamically load code.
waldmann@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
Does anyone have a clue?
Cheers,
JP.
On 5/18/07, Johannes Waldmann
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
waldmann@afa:~> yi yi: can't load .so/.DLL for: pthread (/usr/lib/libpthread.so: invalid ELF header)
and indeed:
waldmann@afa:~> 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 )