Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 71D22650EA5 for ; Fri, 27 Jun 2008 23:58:09 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 85036-03 for ; Fri, 27 Jun 2008 23:58:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 47483650EA4 for ; Fri, 27 Jun 2008 23:58:06 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id m5S2w4YG016463; Fri, 27 Jun 2008 22:58:04 -0400 (EDT) To: "Randall Lucas" cc: pgsql-ports@postgresql.org Subject: Re: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2 In-reply-to: <7d5145af0806271608m6e880c31vca63d8833eeae26d@mail.gmail.com> References: <7d5145af0806271608m3299b0dds5018975839b0f6ad@mail.gmail.com> <7d5145af0806271608m6e880c31vca63d8833eeae26d@mail.gmail.com> Comments: In-reply-to "Randall Lucas" message dated "Fri, 27 Jun 2008 16:08:44 -0700" Date: Fri, 27 Jun 2008 22:58:04 -0400 Message-ID: <16462.1214621884@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/10 X-Sequence-Number: 2652 "Randall Lucas" writes: > gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith > -Winline -Wdeclaration-after-statement -Wendif-labels > -fno-strict-aliasing -fwrapv -dynamiclib -install_name > /usr/local/pgsql-8.3/lib/libecpg.6.dylib -compatibility_version 6 > -current_version 6.0 -exported_symbols_list exports.list > -multiply_defined suppress execute.o typename.o descriptor.o data.o > error.o prepare.o memory.o connect.o misc.o path.o pgstrcasecmp.o > thread.o -L../pgtypeslib -L../../../../src/interfaces/libpq > -L../../../../src/port -L/sw/lib -L/sw/lib -lpgtypes -lpq -lm -o > libecpg.6.0.dylib > Undefined symbols: Comparing this to a fresh build log on my own machine, the only obvious difference is the (duplicated) -L/sw/lib that your log has and mine doesn't. I'm thinking maybe you have old or broken PG shared libraries in that directory that're messing up the link. I'm not convinced of that, because these -L switches are last in the command and so really shouldn't be determining anything; but it's a place to start looking. regards, tom lane