From: Randall Lucas <rlucas@tercent.com>
To: pgsql-ports@postgresql.org
Subject: Fwd: 8.3.3 compile fails on Mac OS X 10.5.2
Date: Fri, 27 Jun 2008 16:08:44 -0700
Message-ID: <7d5145af0806271608m6e880c31vca63d8833eeae26d@mail.gmail.com> (raw)
In-Reply-To: <7d5145af0806271608m3299b0dds5018975839b0f6ad@mail.gmail.com>
References: <7d5145af0806271608m3299b0dds5018975839b0f6ad@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-ports@postgresql.org
Cc: rlucas@tercent.com
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>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox