Bad ELF magic librdpdf.so - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
13 Jul 2017
Microsoft has ended support for Windows Phone 8.1
Read More...
Questions about Android development and PDF
  • Page:
  • 1

TOPIC: Bad ELF magic librdpdf.so

Bad ELF magic librdpdf.so 1 year 8 months ago #12084

  • sruf
  • sruf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Hey all,

currently I have a problem when loading the librpdf.so, resulting in the following Exception:
java.lang.UnsatisfiedLinkError: dlopen failed: "[SOME_PATH]/lib/arm/librdpdf.so" has bad ELF magic
The error occurs immediately at the System.loadLibrary("rdpdf") instruction in the Global.java.
I use Maven with a local repository, and all .so-files exist in the m2-repository. The version of RadaeePDF is 2.2.9c.

Does anyone have an idea?
Thank you in advance!

Please Log in or Create an account to join the conversation.

Bad ELF magic librdpdf.so 1 year 8 months ago #12085

  • nermeen
  • nermeen's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 865
  • Karma: 23
  • Thank you received: 70
It seems like you are trying to load the library on a device that does not support this architecture, from the error you are loading from (arm).

So make sure that you are including the library that supports your device's architecture.

Another thing: you are using an old version, we recommend that you update to the latest version (lots of improvements and fixes have been done since then)
The following user(s) said Thank You: sruf

Please Log in or Create an account to join the conversation.

Bad ELF magic librdpdf.so 1 year 8 months ago #12091

  • sruf
  • sruf's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thank you! I updated to the newest version, now things work fine. Maybe the library I used was broken.
Now one question is open: Are the newest version available with the same license? Right now with the same settings I get the watermark.

EDIT: Nevermind! I had the wrong license_type :)

Please Log in or Create an account to join the conversation.

Last edit: by sruf.
  • Page:
  • 1
Powered by Kunena Forum