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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Fri, 27 Jun 2008 22:58:04 -0400
  • Message-id: <16462.1214621884@sss.pgh.pa.us> <text/plain>

"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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group