The problem is that your JVM is 64-bit, but your library is 32-bit. Try running with -d32.

Daniel

On 10/ 4/10 07:21 AM, jmpopush wrote:
Hi, I compiled the program uses libhdfs, which need libjvm.so, on 32-bit java environment 
and run the job on a 64-bit java environment. But got "error while loading shared 
libraries: libjvm.so: wrong ELF class: ELFCLASS64" error. Could someone help me? 
Thank you!

  • libjvm.so jmpopush
    • Re: libjvm.so Daniel Templeton

Reply via email to