From: | Craig Gibson <twins3n(at)yahoo(dot)com> |
---|---|
To: | pgsql-interfaces(at)postgresql(dot)org |
Subject: | Re: libpgeasy on AIX |
Date: | 2004-03-08 13:17:35 |
Message-ID: | 1078751854.29667.13.camel@ptolomy.vodacom.co.za |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Thanks! That gave me the lead...
-shared will invoke AIX's linker: -rpath is a GNU ld option. The AIX
equivalent is -blibpath. However after reading through
http://www-106.ibm.com/developerworks/eserver/articles/gnu.html I just
changed the Makefile by changing
SHARED= -fpic -shared -Wl,-x,-soname,$(TARGET).so.$(SO_MAJOR_VERSION)
-Wl,-rpath,$(POSTGRES_HOME)/lib to
SHARED= -fpic -shared and then set $LIBPATH to include
/usr/local/pgsql/lib
That did the trick for me, maybe it will help someone else.
On Mon, 2004-03-01 at 22:30, Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > Seems like gcc doesn't like your -x or -rpath. Not sure why.
>
> It's a linker option, not a gcc option.
>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-03-09 04:55:17 | Re: PostgreSQL: libpq, win32 build |
Previous Message | Jason C. Wells | 2004-03-05 05:09:01 | Success with pgtclng |