This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
shared library
- To: <java at gcc dot gnu dot org>
- Subject: shared library
- From: "Jayesh K. Parayali" <jparayali at TOTALFLOOD dot com>
- Date: Tue, 23 Oct 2001 12:26:54 -0700
> I compiled postgres jdbc jar into jdbc.so using gcj and moved it into
> usr/local/gcc/lib which is in my LD_LIBRARY_PATH
> Then I created an application which uses jdbc and compiled it to
> native code using gcj
> now when I run the application, it's not able to find(load) the jdbc
> driver.
>
> Note that the application works fine
> 1.) If I add the jdbc jar file to my CLASSPATH
> 2.) Or compile the application with jdbc.so
>
> Thanks,
> Jayesh