From: pierce at hogranch.com (John R Pierce) Date: Tue, 09 Oct 2012 14:42:33 -0700 Subject: [Pljava-dev] pljava on AIX for postgres 9.1.x and IBM AIX Java 6? In-Reply-To: <507474C0.1010304@hogranch.com> References: <50651F8A.1080704@hogranch.com> <50660523.5050503@hogranch.com> <50660A90.3020308@hogranch.com> <5069E7C8.4090004@hogranch.com> <5073DEED.8030504@hogranch.com> <507472B6.3060100@hogranch.com> <507474C0.1010304@hogranch.com> Message-ID: <50749A49.8060003@hogranch.com> On 10/09/12 12:02 PM, John R Pierce wrote: > On 10/09/12 11:53 AM, John R Pierce wrote: >> 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?!? > > actually, it appears to be another issue on the PGXS side of postgres > on AIX. ok, to follow up... after manually copying src/backend/port/aix/mkldexport.sh from the postgresql 9.1.6 source tree to the installation directory (under lib/pgxs), we then found... in postgres 9.1.6, at least, the pkgxs/src/makefiles/Makefile.aix is broken, it needs this change... from: BE_DLLLIBS= -Wl,-bI:$(bindir)/postgres/$(POSTGRES_IMP) to: BE_DLLLIBS= -Wl,-bI:$(pkglibdir)/$(POSTGRES_IMP) and... in pljava, I had to... export PLJAVA_LDFLAGS=-lm before I ran gmake c_all now its built, but still untested.... -- john r pierce N 37, W 122 santa cruz ca mid-left coast