FAQ
Just confirmed after make distclean and ./configure that the same
error persists in Mac OS X 10.5.3 (9D34).

Best,

Randall
On Fri, Jun 27, 2008 at 4:08 PM, Randall Lucas wrote:
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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 9 | next ›
Discussion Overview
grouppgsql-ports @
categoriespostgresql
postedJun 27, '08 at 11:25p
activeJul 5, '08 at 2:56a
posts9
users3
websitepostgresql.org
irc#postgresql

People

Translate

site design / logo © 2022 Grokbase