Terence Ng wrote:
> I don't know why it cannot find libjvm.so and java. What should I do?
>
> # echo $LD_LIBRARY_PATH
> /usr/jdk/instances/jdk1.5.0/jre/lib/i386:/usr/jdk/instances
> /jdk1.5.0/jre/lib/i386/client:/usr/jdk/instances/jdk1.5.0/jre/lib/i386/native_threads
> psql:install.sql:6: ERROR: could not load library
> "/usr/postgres/8.2/lib/pljava.so": ld.so.1: postgres: fatal: libjvm.so:
> open failed: No such file or directory
Setting LD_LIBRARY_PATH in your current environment doesn't help. You
need it set in the server's environment.
Kris Jurka