agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] java.sql.SQLException: ERROR: could not load library	undefined symbol: JNI_CreateJavaVM
Date: Sat, 12 Feb 2005 17:08:46 -0500
Message-ID: <20050212170846.71efdca7@emach> (raw)
In-Reply-To: <1108170959.19561.6.camel@vpj.eevolution>
References: <1108170959.19561.6.camel@vpj.eevolution>

On Fri, 11 Feb 2005 19:15:59 -0600
Victor <victor.perez at e-evolution.com.mx> 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




view thread (31+ messages)  latest in thread

Message-ID: <20050212170846.71efdca7@emach>
Permalink:  ../20050212170846.71efdca7@emach/
Also on:    postgresql.org/message-id/20050212170846.71efdca7@emach

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] java.sql.SQLException: ERROR: could not load library	undefined symbol: JNI_CreateJavaVM
  In-Reply-To: <20050212170846.71efdca7@emach>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox