X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 74C27D1DD17 for ; Sun, 29 Feb 2004 01:03:06 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 79442-04 for ; Sat, 28 Feb 2004 21:03:03 -0400 (AST) Received: from candle.pha.pa.us (candle.pha.pa.us [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id C4925D1E92C for ; Sat, 28 Feb 2004 21:02:58 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id i1T131R04603; Sat, 28 Feb 2004 20:03:01 -0500 (EST) From: Bruce Momjian Message-Id: <200402290103.i1T131R04603@candle.pha.pa.us> Subject: Re: libpgeasy on AIX In-Reply-To: <20040223112845.29091.qmail@web41414.mail.yahoo.com> To: twinsen Date: Sat, 28 Feb 2004 20:03:01 -0500 (EST) Cc: pgsql-interfaces@postgresql.org X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/85 X-Sequence-Number: 4778 twinsen wrote: > > > I feel like an dunce... > > Thanks to all that helped with my last query - I got > postgres compiled on AIX. > > Now I have this problem: > > I tried to compile libpgeasy and get the following: > make is gnumake 3.79.1 and the compiler is gcc 3.3.2 > I presume that the equivalent of ldconfig is to set > $LIBPATH? Something is wrong with $SHARED but I dont > know what. > > > vodagpccspivr1:/home/dtuser/postgresql-7.4.1/pgeasy-3.0.1> > ./make > gcc libpgeasy.o halt.o -L/usr/local/pgsql/lib -lpq > -fpic -shared -Wl,-x,-soname,libpgeasy.so.3 > -Wl,-rpath,/usr/local/pgsql/lib -o libpgeasy.so.3.0 > ld: 0706-027 The -x flag is ignored. > ld: 0706-012 The -p flag is not recognized. > ld: 0706-012 The -a flag is not recognized. > ld: 0706-012 The -t flag is not recognized. > ld: 0706-012 The -h flag is not recognized. > ld: 0706-005 Cannot find or open file: libpgeasy.so.3 > ld:open(): A file or directory in the path > name does not exist. > collect2: ld returned 255 exit status > make: *** [libpgeasy.so.3.0] Error 1 Seems like gcc doesn't like your -x or -rpath. Not sure why. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073