Skip site navigation (1) Skip section navigation (2)

Re: libpgeasy on AIX

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 (view raw or flat)
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.
> 


In response to

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2004-03-09 04:55:17
Subject: Re: PostgreSQL: libpq, win32 build
Previous:From: Jason C. WellsDate: 2004-03-05 05:09:01
Subject: Success with pgtclng

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group