agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] Bug#390661: pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] Bug#390661: pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-11-04 11:50 
  2007-01-20 15:17 ` [Pljava-dev] Bug#390661: pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation 
  0 siblings, 1 reply; 2+ messages in thread

From:  @ 2006-11-04 11:50 UTC (permalink / raw)

Hi, Matthias,

Matthias Klose wrote:

>> So it should be reassigned to pljava.

Somehow, the but reassignment did not work. Matthias, can you try it?

>> However, I read the Debian Changes of libgcj, and did not find any clear
>> mentioning of why and how that was changed.
> 
> these are changes pulled from gcc-4.2/classpath-0.92. JNI_CreateJavaVM
> can be found in libjvm.

So it seems we need to change the linker flags in the Makefile, right?

> Note that it's not necessary anymore to include the precompiled jar
> file in the library.

Personally, I see it as an advantage to have the precompiled jar
included in the library, that eases deployment.

> Building native code using dh_nativejava and/or
> aot-compile should be used instead.

dh_nativejava would be ugly for upstream, it will only fix the problem
for deban users, I presume?

> Documentation pending ...

Any progress here?

Thanks,
Markus
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in Europe! www.ffii.org
www.nosoftwarepatents.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20061104/7d2c19d3/attachment.bin;



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

* [Pljava-dev] Bug#390661: pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
  2006-11-04 11:50 [Pljava-dev] Bug#390661: pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation 
@ 2007-01-20 15:17 ` 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2007-01-20 15:17 UTC (permalink / raw)

Markus Schaber <schabi <at> logix-tt.com> writes:

> 
> Hi, Matthias,
> 
> Matthias Klose wrote:
> 
> >> So it should be reassigned to pljava.
> 
> Somehow, the but reassignment did not work. Matthias, can you try it?
> 
> >> However, I read the Debian Changes of libgcj, and did not find any clear
> >> mentioning of why and how that was changed.
> > 
> > these are changes pulled from gcc-4.2/classpath-0.92. JNI_CreateJavaVM
> > can be found in libjvm.
> 
> So it seems we need to change the linker flags in the Makefile, right?
> 
> > Note that it's not necessary anymore to include the precompiled jar
> > file in the library.
> 
> Personally, I see it as an advantage to have the precompiled jar
> included in the library, that eases deployment.
> 
> > Building native code using dh_nativejava and/or
> > aot-compile should be used instead.
> 
> dh_nativejava would be ugly for upstream, it will only fix the problem
> for deban users, I presume?
> 
> > Documentation pending ...
> 
> Any progress here?
> 
> Thanks,
> Markus

I read the description of the dh_nativejar command:
it can compile jar to native binary.
But what about pljava.so, using C for JNI code?
Could you tell me precisely how to modify the makefile for pljava.so 
in order to
solve this problem.
I can add the problem is not specific to amd64 but occurs also 
on Debian Etch i386:
I have the same problem with the following configuration:
uname -a
Linux acoeur-e 2.6.18-3-k7 #1 SMP Mon Dec 4 17:23:11 UTC 2006 i686 GNU/Linux

regards,
Christophe








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


end of thread, other threads:[~2007-01-20 15:17 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-04 11:50 [Pljava-dev] Bug#390661: pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation 
2007-01-20 15:17 ` 

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