Red Hat java LoadLibrary Dependency Issues
I am using a PDF Prep Tool library (from www.pdf-tools.com) and it
seems to work just fine on Windows and AIX. I am currently trying to
use it with Red Hat 7.2, but I keep getting a
java.lang.UnsatisfiedLinkError with the message "undefined symbol:
__cxa_pure_virtual at java.lang.ClassLoader$NativeLibrary.load(Native
I have created a very simple test program that just tries to load the
library and then exit. I continue to get this error. The library is
in my LD_LIBRARY_PATH and I have tried adding it to the path, and
classpath (figured it couldn't hurt). However, when I explicitly load
stdc++ (which is also in the same paths), using the System.LoadLibrary
method, right before I load the prep tool library no exception occurs.
(I used the ldd utility to find out what the prep tool library has as
its dependencies, but the stdc++ isn't one of them. The reason I
tried it stems from the fact that the website mentions that you need
to have it installed on a unix based system)
Why does that happen?
Unfortunately that is not an acceptable fix because this application
is meant to be platform independent.
Any suggestions would be greatly appreciated.
Re: Red Hat java LoadLibrary Dependency Issues
> Unfortunately that is not an acceptable fix because this application
> is meant to be platform independent.
You have chosen a tool which is a native library. So you will never be
platform independent. The only solution is to find another, 100% Java
Frankly said, I can' understand why someone choses a native library at
all if one has a requirement to be platform independent. I mean PDF
Tools AG clearly states that you get a native library. And now you are
|All times are GMT. The time now is 04:09 AM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.