pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Keary Suska <hierophant@pcisys.net>
To: Postgres-Interfaces <pgsql-interfaces@postgresql.org>
Subject: URGENT: Undefined Symbols Using XCode 2.5 on Mac OS X 10.5
Date: Sat, 22 Dec 2007 20:41:15 -0700
Message-ID: <C39326EB.1B39E%hierophant@pcisys.net> (raw)

I ha a perfectly functioning libpq before I upgraded my computer but for
some reason I am now getting undefined symbol errors in libpq.a:

AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-secure.o) reference to undefined
_pthread_sigmask$UNIX2003
AirBase:0: _close$UNIX2003
AirBase:0: _fcntl$UNIX2003
AirBase:0: _fputs$UNIX2003
AirBase:0: _poll$UNIX2003
AirBase:0: _SSL_CTX_set_client_cert_cb
AirBase:0: _pthread_sigmask$UNIX2003
AirBase:0: _sigwait$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-connect.o) reference to undefined _close$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-connect.o) reference to undefined _fcntl$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-connect.o) reference to undefined _fputs$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(noblock.o) reference to undefined _fcntl$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-protocol3.o) reference to undefined
_close$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-misc.o) reference to undefined _close$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-misc.o) reference to undefined _poll$UNIX2003
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-secure.o) reference to undefined
_SSL_CTX_set_client_cert_cb
AirBase:0: 
/Developer/Xcode2.5/usr/bin/../libexec/gcc/i686-apple-darwin8/4.0.1/ld:
Undefined symbols:
AirBase:0: /Users/aksuska/Projects/FFSEmploy/AirBase
Project/AirBase/libpq.a(fe-secure.o) reference to undefined
_sigwait$UNIX2003

Some googling around seem to imply that the problem is due to my project
linking against the 10.4u SDK, while libpq is linked against 10.5.

I tried to recompile libpq against the 10.4u, but configure seems to insist
on using 10.5 regardless.

Please help--I have a mission-critical project that is now dead in the
water--at least unless I decide to use a different DB back-end...

Best,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"





view thread (7+ messages)  latest in thread

Message-ID: <C39326EB.1B39E%hierophant@pcisys.net>
Permalink:  ../C39326EB.1B39E%25hierophant@pcisys.net/
Also on:    postgresql.org/message-id/C39326EB.1B39E%hierophant@pcisys.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hierophant@pcisys.net
  Subject: Re: URGENT: Undefined Symbols Using XCode 2.5 on Mac OS X 10.5
  In-Reply-To: <C39326EB.1B39E%hierophant@pcisys.net>

* 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