[Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?

From: pierce at hogranch(dot)com (John R Pierce)
To:
Subject: [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?
Date: 2012-10-09 18:53:42
Message-ID: 507472B6.3060100@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

On 10/09/12 1:23 AM, John R Pierce wrote:
> /opt/pgsql91/lib/pgxs/src/makefiles/../../src/backend/port/aix/mkldexport.sh:
>
> not found.

ok, I found this file in the 9.1.6 source tree I built, so I manually
moved it over to the postgres install directory, and now the pljava make
bombs at...

....
/usr/vacpp/bin/xlc -q64 -I/home/postgres/src/include -O2 -qarch=pwr5
-qtune=balanced -qnoansialias -o pljava.so libpljava.a
-Wl,-bE:libpljava.exp -L/opt/pgsql91/lib -L/home/postgres/src/lib
-Wl,-blibpath:'/opt/pgsql91/lib:/opt/pgsql91/lib:/home/postgres/src/lib:/usr/lib:/lib'
-Wl,-bnoentry -Wl,-H512 -Wl,-bM:SRE
-Wl,-bI:/opt/pgsql91/bin/postgres/postgres.imp -L.
-L"/usr/java5_64/jre/bin/j9vm" -ljvm
ld: 0706-003 Cannot find or read import file:
/opt/pgsql91/bin/postgres/postgres.imp
ld:accessx(): A parameter must be a directory.

so thats /another/ missing file... hmmm, a file of that name is in lib,
not bin/postgres ...

$ find . -name postgres.imp
./src/backend/postgres.imp

$ find /opt/pgsql91 -name postgres.imp
/opt/pgsql91/lib/postgres.imp

and, muh-oh... $PG_PREFIX/bin/postgres is the binary executable, so I
*can't* put a copy of postgres.imp there, hah. and a bit of poking
around the pljava makefiles, I'm not figuring out how its cooking that
path name up?!?

--
john r pierce N 37, W 122
santa cruz ca mid-left coast

In response to

Responses

Browse pljava-dev by date

  From Date Subject
Next Message John R Pierce 2012-10-09 19:02:24 [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?
Previous Message John R Pierce 2012-10-09 08:23:09 [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6?