Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

loading of libverify.so reports undefined symbol

843829Nov 8 2002 — edited Apr 15 2003
Greetings,

I have a c++ application that is dynamically loading libjvm.so to instantiate the JVM and call java classes from C++. Everything compiles happily, but when run my executable, I get the following:

Can't load library "/usr/local/jdk1.3.1/jre/lib/i386/libverify.so", because /usr/local/jdk1.3.1/jre/lib/i386/libverify.so: Undefined symbol JVM_GetClassNameUTF"

If I do an "nm" dump of libverify.so, it reports that JVM_GetClassNameUTF is indeed Undefined. I can tell from within my code that libjvm.so is loading okay. Obviously, libjvm.so is trying to load libverify.so, or some other intermediary lib is trying to do so. Note that JVM_GetClassNameUTF *is* defined in libjvm.so.

Does anyone have any ideas? Is this a load order problem? I feel pretty confident that it is not a library path issue, but perhaps I'm missing a step.

Thanks,

Guerry
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 13 2003
Added on Nov 8 2002
4 comments
326 views