If you are getting UnsatisfiedLinkError, it is related to
LD_LIBRARY_PATH, the package name of the Java class with
your native method, or the name of your .so library and native
function. If you using someone else's .so library that is
known to work, you might suspect your LD_LIBRARY_PATH.
Many libraries are named with suffixes representing the major
and minor versions. For example,
libmylib.so.1.4
You will need to make sure that there are links from libmylib.so
to libmylib.so.1 and from libmylib.so.1 to libmylib.so.1.4.
Otherwise, check the naming conventions for native interfaces at
http://java.sun.com/docs/books/tutorial/native1.1/integrating/index.html
-----Original Message-----
From: FiFO d POOH [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 03, 2001 5:55 PM
To: [EMAIL PROTECTED]
Subject: Re: LD_LIBRARY_PATH
i already try this but still java.lang.UnsatisfiedLinkError Throwable is
being
thrown.
tomcat cant still find the native libraries. am using solaris.
Alex Amies wrote:
> put the following line in your '.profile', '.bashrc', or '.cshrc',
> or type it at the command prompt before starting the server:
>
> export LD_LIBRARY_PATH=path_your_want:more_stuff_delimited_by_colons
>
> You will need it if you are using native libraries in your servlets
> and those native libraries are not in standard locations such as
> /usr/lib, etc. I am assuming Solaris or Linux.
>
> -----Original Message-----
> From: Noel E. Lecaros [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 7:44 AM
> To: [EMAIL PROTECTED]
> Subject: Re: LD_LIBRARY_PATH
>
> FiFO d POOH wrote:
>
> > how to set my LD_LIBRARY_PATH in tomcat?
> > thanks in advance!
> >
> > pipo
> >
> >
>
________________________________________________________________________
> ___
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in
the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives:
http://archives.java.sun.com/archives/servlet-interest.html
> > Resources:
> http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
> Hi,,
>
> What do you want to put in LD_LIBRARY_PATH? As far as I know, setting
> up
> Tomcat does not require setting anything here. If what you want is to
> be able
> to dynamically alter LD_LIBRARY_PATH within Tomcat, why would you want
> to do
> that?
>
> Regards,
> Noel Lecaros
>
>
________________________________________________________________________
> ___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
-
________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html