From: | books at ejurka(dot)com (Kris Jurka) |
---|---|
To: | |
Subject: | [Pljava-dev] building pljava for solaris 10 sparc 64bit |
Date: | 2010-04-15 22:14:36 |
Message-ID: | alpine.BSO.2.00.1004151811500.29195@leary.csoft.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
On Thu, 15 Apr 2010, John R Pierce wrote:
> so I've been having fun getting pl/java 'HEAD' working with Postgres 8.4.3
> 64bit on Solaris Sparc, with JDK 1.5.0_23 64bit...
>
> ERROR: could not load library "/opt/FIS/pljava/pljava.so": ld.so.1:
> postgres: fatal: libjvm.so: open failed: No such file or directory
>
> These are in the postgres server 'start' method script (I'm running postgres
> under SMF control)
>
> JAVA_HOME=/usr/jdk/jdk1.5.0_23
> LD_LIBRARY_PATH=$JAVA_HOME/jre/lib/sparcv9:$JAVA_HOME/jre/lib/sparcv9/server:/opt/FIS/pljava
> PATH=$JAVA_HOME/bin/sparcv9:$PATH
>
I'm not familiar with SMF, but putting environment variables into start
scripts often doesn't work because they start as root and then su to the
user running postgres and when that happens the current environment is
scrapped and replaced by that of the postgres user's.
Kris Jurka
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2010-04-15 22:43:02 | [Pljava-dev] building pljava for solaris 10 sparc 64bit |
Previous Message | John R Pierce | 2010-04-15 22:03:14 | [Pljava-dev] building pljava for solaris 10 sparc 64bit |