[Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM

Thomas Hallgren thhal at mailblocks.com
Sat Feb 12 08:48:38 UTC 2005


Victor wrote:

>java.sql.SQLException: ERROR: could not load library
>"/usr/local/pgsql/lib/libpljava.so": /usr/local/pgsql/lib/libpljava.so:
>undefined symbol: JNI_CreateJavaVM
>...
>
>LD_LIBRARy_PATH=/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386:/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386/client:/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386/native_threads:/usr/local/pgsql/lib/libpljava.so
>
>Some one can help me with this problem?
>  
>
Your LD_LIBRARY_PATH contains "jre/jre". That is probably incorrect. One 
"jre" should be sufficient. Also, the character 'Y' is smallcaps and 
Linux environment names are case sensitive.

Regards,
Thomas Hallgren





More information about the Pljava-dev mailing list