agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] pljava 1.4.0 install problem
Date: Sat, 08 Mar 2008 13:28:20 +0200
Message-ID: <20080308132820.b615t2hy2ooggs48@mail.bg> (raw)

Hi,
i try to install pljava on my pg 8.2.6 box.

My config:
pg 8.2.6

uname -a:
Linux testbox 2.6.18-53.el5 #1 SMP Mon Nov 12 02:14:55 EST 2007 x86_64  
x86_64 x86_64 GNU/Linux

It is 64-bit CentOs 5.1

java -version:
java version "1.4.2_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_16-b05)
Java HotSpot(TM) Client VM (build 1.4.2_16-b05, mixed mode)

I readet the install giude
and first selected to use the binary
http://pgfoundry.org/frs/download.php/1597/pljava-i686-pc-linux-gnu-pg8.2-1.4.0.tar.gz
( I think it is for 32-bit java)

After running the install.sql script, I receive:

ERROR:  could not load library "/usr/share/pljava/pljava.so":  
/usr/share/pljava/pljava.so: wrong ELF class: ELFCLASS32
ERROR:  function sqlj.java_call_handler() does not exist
ERROR:  could not load library "/usr/share/pljava/pljava.so":  
/usr/share/pljava/pljava.so: wrong ELF class: ELFCLASS32
ERROR:  function sqlj.javau_call_handler() does not exist



After this problems I try to compile pljava from sources. After  
compiling (without errors) I try to run install.sql.
As result I received :

ERROR:  could not load library "/usr/share/pljava/pljava.so":  
/usr/share/pljava/pljava.so: undefined symbol: JNI_CreateJavaVM
ERROR:  function sqlj.java_call_handler() does not exist
ERROR:  could not load library "/usr/share/pljava/pljava.so":  
/usr/share/pljava/pljava.so: undefined symbol: JNI_CreateJavaVM
ERROR:  function sqlj.javau_call_handler() does not exist
NOTICE:  CREATE TABLE will create implicit sequence  
"jar_repository_jarid_seq1" for serial column "jar_repository.jarid"
ERROR:  relation "jar_repository" already exists
NOTICE:  CREATE TABLE will create implicit sequence  
"jar_entry_entryid_seq1" for serial column "jar_entry.entryid"
ERROR:  relation "jar_entry" already exists
ERROR:  relation "classpath_entry" already exists
NOTICE:  CREATE TABLE will create implicit sequence  
"typemap_entry_mapid_seq1" for serial column "typemap_entry.mapid"



Pls. help me to correct this problem.


-------------------------------------

???????? ?????? ?? ?????? ????? ? ???-????????????? ??????? ?? 8-?? ????!
???? ?? 5 ?? 14 ???? - ??????????? ?? ?????? (.com) - 13,50 ??./??????!
????????????.?? - ???? ????????? ??????? ??????!






view thread (4+ messages)  latest in thread

Message-ID: <20080308132820.b615t2hy2ooggs48@mail.bg>
Permalink:  ../20080308132820.b615t2hy2ooggs48@mail.bg/
Also on:    postgresql.org/message-id/20080308132820.b615t2hy2ooggs48@mail.bg

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] pljava 1.4.0 install problem
  In-Reply-To: <20080308132820.b615t2hy2ooggs48@mail.bg>

* 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