Solving java.lang.UnsatisfiedLinkError: wrong ELF class: ELFCLASS32

111 views
Skip to first unread message

Support

unread,
Mar 29, 2012, 7:36:11 PM3/29/12
to PDFTron PDF to SVG Converter
Q:

We're using pdftron pdf2svg_sdk and having trouble when deploying on
Ubuntu 10.04 (Intel(R) Xeon(R) CPU X5650 @ 2.67GHz). We're getting
the following error when loading the shared object library:

java.lang.UnsatisfiedLinkError: /home/administrator/glassfish/lib/
libpdf2svg.so: /home/administrator/glassfish/lib/libpdf2svg.so: wrong
ELF class: ELFCLASS32 (Possible cause: architecture word width
mismatch)

Could you please confirm that this *should* work so that we can try to
pin down a cause.

-------------
A:

According to http://stackoverflow.com/questions/6172105/wrong-elf-class-elfclass32.
The problem may be due to a mismatch between your JVM and the library
(32 vs 64 bit version).

The solution would be to either download a different version of PDFNet
(32 -> 64: http://www.pdftron.com/pdf2svg/downloads.html) or to update
your JVM.
Reply all
Reply to author
Forward
0 new messages