agora inbox for pljava-dev@postgresql.org
help / color / mirror / Atom feed[Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
10+ messages / 0 participants
[nested] [flat]
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 06:57
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 06:57 UTC (permalink / raw)
Hi,
I have installed the Debian AMD64 package postgresql-8.1-pljava-gcj
1.3.0-1+b1 with apt-get install
If I try to run the installation script I get:
psql:/usr/share/postgresql-8.1-pljava/install.sql:6: ERROR: could not
load library
"/usr/lib/postgresql/8.1/lib/pljava.so": /usr/lib/postgresql/8.1/lib/pljava.so: undefined symbol: JNI_CreateJavaVM
Should I do something else other that a simple "apt-get install" and "
psql -f /usr/share/postgresql-8.1-pljava/install.sql" to make this work?
TIA
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 07:16
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 07:16 UTC (permalink / raw)
Hi, Joost,
Joost Kraaijeveld wrote:
> I have installed the Debian AMD64 package postgresql-8.1-pljava-gcj
> 1.3.0-1+b1 with apt-get install
>
> If I try to run the installation script I get:
>
> psql:/usr/share/postgresql-8.1-pljava/install.sql:6: ERROR: could not
> load library
> "/usr/lib/postgresql/8.1/lib/pljava.so": /usr/lib/postgresql/8.1/lib/pljava.so: undefined symbol: JNI_CreateJavaVM
>
> Should I do something else other that a simple "apt-get install" and "
> psql -f /usr/share/postgresql-8.1-pljava/install.sql" to make this work?
That seems to be a similar bug than the one that has bitten Lyle Giese
lately.
Can you show us the output of "ldd /usr/lib/postgresql/8.1/lib/pljava.so"?
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/20061002/7d55c66a/attachment.bin;
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 07:26
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 07:26 UTC (permalink / raw)
On Mon, 2006-10-02 at 09:16 +0200, Markus Schaber wrote:
> Can you show us the output of "ldd /usr/lib/postgresql/8.1/lib/pljava.so"?
Yes I can:
panoramix:~$ ldd /usr/lib/postgresql/8.1/lib/pljava.so
libgcj.so.70 => /usr/lib/libgcj.so.70 (0x00002add4d7ea000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002add5028a000)
libc.so.6 => /lib/libc.so.6 (0x00002add50397000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00002add505d3000)
librt.so.1 => /lib/librt.so.1 (0x00002add506e9000)
libdl.so.2 => /lib/libdl.so.2 (0x00002add507f2000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002add508f5000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 07:44
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 07:44 UTC (permalink / raw)
Hi, Joost,
Joost Kraaijeveld wrote:
> On Mon, 2006-10-02 at 09:16 +0200, Markus Schaber wrote:
>> Can you show us the output of "ldd /usr/lib/postgresql/8.1/lib/pljava.so"?
> Yes I can:
>
> panoramix:~$ ldd /usr/lib/postgresql/8.1/lib/pljava.so
> libgcj.so.70 => /usr/lib/libgcj.so.70 (0x00002add4d7ea000)
> libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002add5028a000)
> libc.so.6 => /lib/libc.so.6 (0x00002add50397000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x00002add505d3000)
> librt.so.1 => /lib/librt.so.1 (0x00002add506e9000)
> libdl.so.2 => /lib/libdl.so.2 (0x00002add507f2000)
> libz.so.1 => /usr/lib/libz.so.1 (0x00002add508f5000)
> /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
So it's not the same problem, as you have the dependency on the java lib.
[~] -> objdump -t -T /usr/lib/libgcj.so.7 | grep JNI_CreateJavaVM
00826c80 g DF .text 000000a0 Base JNI_CreateJavaVM
Do you have the smbol, too?
It now looks as the Postmaster does not find the libgcj.so in its
classpath, but on the other hand, the error message should be different
(indicating a missing library, not a missing symbol).
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/20061002/980d1d63/attachment.bin;
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 07:59
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 07:59 UTC (permalink / raw)
On Mon, 2006-10-02 at 09:44 +0200, Markus Schaber wrote:
> Hi, Joost,
>
> Joost Kraaijeveld wrote:
> > On Mon, 2006-10-02 at 09:16 +0200, Markus Schaber wrote:
> >> Can you show us the output of "ldd /usr/lib/postgresql/8.1/lib/pljava.so"?
>
> > Yes I can:
> >
> > panoramix:~$ ldd /usr/lib/postgresql/8.1/lib/pljava.so
> > libgcj.so.70 => /usr/lib/libgcj.so.70 (0x00002add4d7ea000)
> > libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002add5028a000)
> > libc.so.6 => /lib/libc.so.6 (0x00002add50397000)
> > libpthread.so.0 => /lib/libpthread.so.0 (0x00002add505d3000)
> > librt.so.1 => /lib/librt.so.1 (0x00002add506e9000)
> > libdl.so.2 => /lib/libdl.so.2 (0x00002add507f2000)
> > libz.so.1 => /usr/lib/libz.so.1 (0x00002add508f5000)
> > /lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
>
> So it's not the same problem, as you have the dependency on the java lib.
>
> [~] -> objdump -t -T /usr/lib/libgcj.so.7 | grep JNI_CreateJavaVM
> 00826c80 g DF .text 000000a0 Base JNI_CreateJavaVM
>
> Do you have the smbol, too?
Nop, I do not (which explains a lot I think):
objdump -t -T /usr/lib/libgcj.so.70 | grep JNI_CreateJavaVM
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 08:23
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 08:23 UTC (permalink / raw)
Hi, Joost,
Joost Kraaijeveld wrote:
>> [~] -> objdump -t -T /usr/lib/libgcj.so.7 | grep JNI_CreateJavaVM
>> 00826c80 g DF .text 000000a0 Base JNI_CreateJavaVM
>>
>> Do you have the smbol, too?
> Nop, I do not (which explains a lot I think):
>
> objdump -t -T /usr/lib/libgcj.so.70 | grep JNI_CreateJavaVM
So I think that the libgcj is broken, or does not provide JNI on AMD64
platforms.
Can you cross-check with the gcj maintainers, and the docs for AMD64,
maybe it's a documented limitation?
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/20061002/239c27a4/attachment.bin;
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 12:08
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 12:08 UTC (permalink / raw)
On Mon, 2006-10-02 at 10:23 +0200, Markus Schaber wrote:
> Can you cross-check with the gcj maintainers, and the docs for AMD64,
> maybe it's a documented limitation?
The function is provided for in another library:
objdump -t -T /usr/lib/gcj-4.1/libjvm.so | grep JNI_Create
0000000000000940 g DF .text 00000000000000ae Base
JNI_CreateJavaVM
I really have no idea how to solve this....
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 13:16
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 13:16 UTC (permalink / raw)
Hi, Joost,
Joost Kraaijeveld wrote:
> On Mon, 2006-10-02 at 10:23 +0200, Markus Schaber wrote:
>> Can you cross-check with the gcj maintainers, and the docs for AMD64,
>> maybe it's a documented limitation?
> The function is provided for in another library:
>
> objdump -t -T /usr/lib/gcj-4.1/libjvm.so | grep JNI_Create
> 0000000000000940 g DF .text 00000000000000ae Base
> JNI_CreateJavaVM
I just currently looked it up on one of our AMD64 machines, and noticed
that the libgcj7 package on my machine was obsolete, libgcj7-0 seems to
be current on all architectures.
[~] -> objdump -t -T /usr/lib/libgcj.so.7 | grep JNI_Create
00826c80 g DF .text 000000a0 Base JNI_CreateJavaVM
[after updating]
[~] -> objdump -t -T /usr/lib/libgcj.so.70 | grep JNI_Create
[~] {1} ->
So, it seems that, currently, the "libgcj7-0" package does not define
the symbols any more, while they were defined by "libgcj7" packages.
The right idea seems to file a bug report against libgcj7-0 that they
break pljava.
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/20061002/8d78a797/attachment.bin;
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 14:22
parent:
0 siblings, 1 reply; 10+ messages in thread
From: @ 2006-10-02 14:22 UTC (permalink / raw)
On Mon, 2006-10-02 at 15:16 +0200, Markus Schaber wrote:
> I just currently looked it up on one of our AMD64 machines, and noticed
> that the libgcj7 package on my machine was obsolete, libgcj7-0 seems to
> be current on all architectures.
[snip]
> So, it seems that, currently, the "libgcj7-0" package does not define
> the symbols any more, while they were defined by "libgcj7" packages.
>
> The right idea seems to file a bug report against libgcj7-0 that they
> break pljava.
Mmmmm. If the gjc team changed it's packaging in all architectures and
pljava is depending on an upstream package it might be wiser to change
pljava and file the report on the plajava package....
--
Groeten,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl
^ permalink raw reply [nested|flat] 10+ messages in thread
* [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
@ 2006-10-02 15:02
parent:
0 siblings, 0 replies; 10+ messages in thread
From: @ 2006-10-02 15:02 UTC (permalink / raw)
reassign 390661 postgresql-8.1-pljava-gcj
thanks
Hi, Joost,
Joost Kraaijeveld wrote:
> Mmmmm. If the gjc team changed it's packaging in all architectures and
> pljava is depending on an upstream package it might be wiser to change
> pljava and file the report on the plajava package....
Yes, it seems you're right. Too bad that I already filed a bug.
So it should be reassigned to pljava.
However, I read the Debian Changes of libgcj, and did not find any clear
mentioning of why and how that was changed.
Sorry,
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/20061002/e971b659/attachment.bin;
^ permalink raw reply [nested|flat] 10+ messages in thread
end of thread, other threads:[~2006-10-02 15:02 UTC | newest]
Thread overview: 10+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-10-02 06:57 [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 07:16 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 07:26 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 07:44 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 07:59 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 08:23 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 12:08 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 13:16 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 14:22 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
2006-10-02 15:02 ` [Pljava-dev] pljava on Debian AMD64: undefined symbol: JNI_CreateJavaVM during installation
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox