agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] JNI_CreateJVM symbole not found in pljava.so when install.sql launched
3+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] JNI_CreateJVM symbole not found in pljava.so when install.sql launched
@ 2007-01-22 10:14  
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2007-01-22 10:14 UTC (permalink / raw)

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






^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [Pljava-dev] JNI_CreateJVM symbole not found in pljava.so when	install.sql launched
@ 2007-01-25 12:22  
  parent: 
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2007-01-25 12:22 UTC (permalink / raw)

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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* [Pljava-dev] JNI_CreateJVM symbole not found in pljava.so when install.sql launched
@ 2007-01-25 12:56  
  parent: 
  0 siblings, 0 replies; 3+ messages in thread

From:  @ 2007-01-25 12:56 UTC (permalink / raw)

Hi Christophe,
Feel free to add yourself to the tada wiki. A comment with your description would be very 
welcome here http://wiki.tada.se/wiki/display/pljava/Posix+Installation. That way it stands 
a good chance to be included in the documentation when I get around to it.

Kind Regards,
Thomas Hallgren

Christophe Roux wrote:
> 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.





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2007-01-25 12:56 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-01-22 10:14 [Pljava-dev] JNI_CreateJVM symbole not found in pljava.so when install.sql launched 
2007-01-25 12:22 ` [Pljava-dev] JNI_CreateJVM symbole not found in pljava.so when	install.sql launched 
2007-01-25 12:56   ` 

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