[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#488989: how to obtain JNI_CreateJavaVM/libjvm?



On Fri, 2011-04-15 at 16:06 +0200, Christoph Berg wrote:
> Re: To Peter Eisentraut 2011-04-15 <[🔎] 20110415133231.GA29254@msgid.df7cb.de>
> > At runtime, pljava.so still needs a LD_LIBRARY_PATH =
> > '/usr/lib/jvm/java-1.5.0-gcj-4.4/lib' or similar in
> > /etc/postgresql/8.4/main/environment.
> > 
> > * Is there a static path I can use? Would RPATH help?
> 
> Btw, one cannot simply point the LD_LIBRARY_PATH at openjdk's (or
> sun's) libjvm.so; the binary package is really gcj-specific. (Which
> is the topic of #476658.)
> 
> FEHLER:  58P01: konnte Bibliothek »/usr/lib/postgresql/8.4/lib/pljava.so« nicht laden: /usr/lib/postgresql/8.4/lib/pljava.so: undefined symbol: _ZN4java4lang9Throwable6class$E
> 
> (No idea if re-linking with other libjvm.so versions would work.)

Well, if you want to put work into resurrecting this package, you might
want to try openjdk.  The gcj route is not well supported upstream, and
was only chosen because the Sun JDK was not open source back then.





Reply to: