pg.ddx.io  pljava-dev@postgresql.org mailing list archive  
help / color / mirror / Atom feed
[Pljava-dev] can't find libjvm
3+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] can't find libjvm
@ 2012-04-30 18:44  
  0 siblings, 1 reply; 3+ messages in thread

From:  @ 2012-04-30 18:44 UTC (permalink / raw)

i'm trying a first time install on an amazon ec2 linux instance (amazon linux, which is centos based), open jdk 1.6. 

i'm using this distribution tar file from pgfoundry: pljava-x86_64-unknown-linux-gnu-pg9.1-1.4.3.tar.gz

the instructions need some work, but i've hacked my way through to this point, trying to run deploy. 
i'm currently stalled at the following:

# java -cp /usr/share/java/postgresql-jdbc.jar:/opt/pljava/deploy.jar org.postgresql.pljava.deploy.Deployer -install -user postgres -database gf
org.postgresql.util.PSQLException: ERROR: could not load library "/opt/pljava/pljava.so": libjvm.so: cannot open shared object file: No such file or directory

i'm not finding libjvm.so anywhere on the system; perhaps the prepackaged jar was built for a different jvm.

anyone have any suggestions?

thanks,
   richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20120430/a56268f4/attachment.html;



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

* [Pljava-dev] can't find libjvm
@ 2012-04-30 19:53  
  parent: 
  0 siblings, 0 replies; 3+ messages in thread

From:  @ 2012-04-30 19:53 UTC (permalink / raw)

Johann Oskarsson writes:


>libjvm.so is part of the JRE.  If it's missing from your system it
>appears the relevant package is missing.  I suspect this is a dependency
>bug in the PL/Java pakcage.

it was buried very deep, i found it. once added with ldconfig, deploy finished without
any apparent problems. the library was located way down here:

/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server/libjvm.so

thanks,
  richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20120430/868b8220/attachment.html;



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


end of thread, other threads:[~2012-04-30 19:53 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-04-30 18:44 [Pljava-dev] can't find libjvm 
2012-04-30 19:53 ` 

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