Re: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Randall Lucas" <rlucas(at)tercent(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2
Date: 2008-06-28 02:58:04
Message-ID: 16462.1214621884@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

"Randall Lucas" <rlucas(at)tercent(dot)com> 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

In response to

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Randall Lucas 2008-07-01 22:36:12 Re: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2
Previous Message Tom Lane 2008-06-28 02:45:50 Re: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2