Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Red Hat java LoadLibrary Dependency Issues

Reply
Thread Tools

Red Hat java LoadLibrary Dependency Issues

 
 
Jared
Guest
Posts: n/a
 
      07-08-2003
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
Method)".

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.
 
Reply With Quote
 
 
 
 
Harald Hein
Guest
Posts: n/a
 
      07-08-2003
"Jared" wrote:

> 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
only library.

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
surprised?

HH
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Red Hat, Sun finally buddy up on Java Ramon F Herrera Java 9 11-07-2007 02:32 AM
Using JWindow under Red Hat Linux 9 and Java 1.4.2 AJ Java 0 04-05-2004 02:13 PM
onFocus or focus() issues in Mozilla for Red Hat Linux 8.0? Scott Navarre Javascript 4 02-28-2004 03:26 PM
Red Hat Defines end of Red Hat Linux steve NZ Computing 14 11-06-2003 06:19 AM
Newbie. How to start Studio One 4.0 on Red Hat 9.0 Sphenxes Java 2 09-05-2003 01:02 PM



Advertisments