agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feedSubject: [Pljava-dev] JNI_CreateJVM symbole not found in pljava.so when install.sql launched
Date: Thu, 25 Jan 2007 12:22:53 +0000 (UTC)
Message-ID: <loom.20070125T131906-519@post.gmane.org> (raw)
References: <45B48E8F.1040306@acoeur.fr>
chris <christophe.roux <at> acoeur.fr> writes:
>
> I send an echo to previous mail with this problem with AMD64 in november
> and SuSE at january the 17th.
>
> I have the same problem with a i386 Debian Etch:
> when trying to launche install.sql for pljava using gcj I get also a:
> symbole not defined : JNI_CreateJVM in pljava.so.
>
> Previous mails says "a bug report has been sent to gcj but the problem
> is rather a pljava problem":
> JNI_CreateJVM is no longer in libgcj.so.70 but in libjvm.so
>
> can someone tell me how to modify Makefiles in order to solve the pljava
> problem.
>
> others talk about dh_nativejava solution, for converting pljava.jar into
> pljava.so but I am not very aware of JNI problem and I am not sure it
> can be solved that way.
>
> the concerned mail talk about pending documentation ...
>
> Regards,
> Christophe Roux
>
After some surfing :
modify pljava-1.3.0/src/C/pljava/Makefile with :
SHLIB_LINK = -lgcj -ljvm
then recompiling pljava
and
ln -s /usr/lib/gcj-4.1/libjvm.so /usr/lib/libjvm.so
then install.sql file works.
view thread (3+ messages) latest in thread
Message-ID: <loom.20070125T131906-519@post.gmane.org>
Permalink: ../loom.20070125T131906-519@post.gmane.org/
Also on: postgresql.org/message-id/loom.20070125T131906-519@post.gmane.org
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] JNI_CreateJVM symbole not found in pljava.so when install.sql launched
In-Reply-To: <loom.20070125T131906-519@post.gmane.org>
* 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