Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Undefined symbols in shared libraries



Hi,

On Sun, Nov 03, 2002 at 02:40:28PM +0900, A. Sajjad Zaidi wrote:
> 
> Hi,
> 
> Im trying to load a shared library from a java servlet, but get the
> following error:
> 
> java.lang.UnsatisfiedLinkError: /xxxx/xxxx.so: /xxxx/xxxx.so: undefined symbol: XXXX
>

Looks like the libs are being found ok.

From the java docs:
http://java.sun.com/j2se/1.3/docs/api/java/lang/UnsatisfiedLinkError.html

------------- quote -------------
public class UnsatisfiedLinkError
extends LinkageError

Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.
------------- end quote -------------

and from the parent class:
http://java.sun.com/j2se/1.3/docs/api/java/lang/LinkageError.html

------------- quote -------------
public class LinkageError
extends Error

Subclasses of LinkageError indicate that a class has some dependency on another class; however, the latter class has incompatibly changed after the compilation of the former class.
------------- end quote -------------

Does this imply that the *order* in which the libs were compiled is an issue?


Anyway, I'm not an expert in this area - it's just a thought.

Good luck,
Ed

 


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links