Accessing third party code from JNI. URGENT !!!!

Hi,

I have to use a .so library (Solaris) from another company. As this library has not the correct syntax to be accessed from JNI, I made another .so that calls it.

For compile this library I just need the header file and I can compile it succesfully, but when I run it, throws an error:

relocation error: file /usuarios/davidj/java/jnitest/libtmlog.so: symbol lgprnERRPar: referenced symbol not found

where lgprnERRPar is a function in the 3 party library.

Can anybdy helps me, please?

This is very urgent for me.

Thanks in advance

[611 byte] By [Ddavidjd] at [2007-9-26 6:37:10]
# 1
Hi,seems like the .so is not loaded. There is a tool on solaris whichchecks all dependencies, but I forgot the name ...Have fun,Klaus
wiedkla at 2007-7-1 15:52:22 > top of Java-index,Java HotSpot Virtual Machine,Specifications...
# 2

Hi,

I've found

http://forums.java.sun.com/thread.jsp?forum=52&thread=94378

http://forums.java.sun.com/thread.jsp?forum=52&thread=95551

http://forums.java.sun.com/thread.jsp?forum=52&thread=95531

http://forums.java.sun.com/thread.jsp?forum=52&thread=95577

http://forums.java.sun.com/thread.jsp?forum=52&thread=95549

http://forums.java.sun.com/thread.jsp?forum=52&thread=95567

http://forums.java.sun.com/thread.jsp?forum=52&thread=91606

http://forums.java.sun.com/thread.jsp?forum=52&thread=93411

http://forums.java.sun.com/thread.jsp?forum=52&thread=95728

Hope it helps,

Klaus

wiedkla at 2007-7-1 15:52:22 > top of Java-index,Java HotSpot Virtual Machine,Specifications...