From: guy-rouillier at speakeasy.net (Guy Rouillier) Date: Sat, 12 Feb 2005 17:08:46 -0500 Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library undefined symbol: JNI_CreateJavaVM In-Reply-To: <1108170959.19561.6.camel@vpj.eevolution> References: <1108170959.19561.6.camel@vpj.eevolution> Message-ID: <20050212170846.71efdca7@emach> On Fri, 11 Feb 2005 19:15:59 -0600 Victor wrote: > java.sql.SQLException: ERROR: could not load library > Linux vpj 2.6.8-24.11-default #1 Fri Jan 14 13:01:26 UTC 2005 x86_64 > x86_64 x86_64 GNU/Linux This tells me you are on an AMD64 platform. > LD_LIBRARy_PATH=/usr/lib/jvm/java-1.4.2-sun-1.4.2.06/jre/jre/lib/i386 But you are trying to load 32-bit libraries. Did you build PostgreSQL and PL/Java from source or are you running binaries? Are you running a 32-bit or 64-bit Java? I'm running PostgreSQL and PL/Java that I compiled from source on an AMD64 Linux 64-bit platform (Gentoo) with the Sun Java 1.5.0 for 64-bit Linux downloaded from the Sun site. Everything works fine. -- Guy Rouillier