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

Fwd: 8.3.3 compile fails on Mac OS X 10.5.2

From: "Randall Lucas" <rlucas(at)tercent(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2
Date: 2008-06-27 23:08:44
Message-ID: 7d5145af0806271608m6e880c31vca63d8833eeae26d@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-ports
Compiling of PostgreSQL 8.3.3 on Mac OS X 10.5.2 (9C2031) fails with
the following error.  I got the same error whether I did a "vanilla"
./configure or whether I used a variety of --with-X flags (e.g. perl,
libxslt).  The use or non-use of --with-libedit-preferred does not
change the outcome (as suggested in this blog post:
http://www.stereoplex.com/two-voices/error-compiling-postgresql-8.3-on-leopard-rl_completion_matches
)

This is a fairly stock 10.5 machine (quad-core Mac Pro) that I just
got last week, but I do have developer tools installed on it.

Also, a pending software update is about to require me to reboot.  (I
will post again if the update fixes the issue).

Any suggestions?  More info needed?

Error:

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:
 "_PGTYPESdate_from_asc", referenced from:
     _ecpg_get_data in data.o
     _ecpg_get_data in data.o
 "_PQfinish", referenced from:
     _ecpg_finish in connect.o
 "_PQsetdbLogin", referenced from:
     _ECPGconnect in connect.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [libecpg.6.0.dylib] Error 1
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2

Responses

pgsql-ports by date

Next:From: Randall LucasDate: 2008-06-28 00:00:25
Subject: Re: 8.3.3 compile fails on Mac OS X 10.5.2
Previous:From: Robert TreatDate: 2008-06-20 18:52:39
Subject: Re: PGSQL non installer for linux

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