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

Bug#488989: how to obtain JNI_CreateJavaVM/libjvm?



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.)

Christoph
-- 
cb@df7cb.de | http://www.df7cb.de/

Attachment: signature.asc
Description: Digital signature


Reply to: