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

Re: URGENT: Undefined Symbols Using XCode 2.5 on Mac OS X 10.5

From: Neil Tiffin <neilt(at)neiltiffin(dot)com>
To: Keary Suska <hierophant(at)pcisys(dot)net>
Cc: Postgres-Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: URGENT: Undefined Symbols Using XCode 2.5 on Mac OS X 10.5
Date: 2007-12-23 15:03:33
Message-ID: F56C774D-4221-40AA-8350-F2D14F291510@neiltiffin.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
Upgrade to Xcode 3.0, the default in 10.5 (its on the install disk as  
a separate install).  I have successfully compiled postgresql on 10.5  
with no problem (using fink).

Neil

On Dec 22, 2007, at 9:41 PM, Keary Suska wrote:

> 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"
>
>
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
>               http://www.postgresql.org/docs/faq


In response to

Responses

pgsql-interfaces by date

Next:From: Keary SuskaDate: 2007-12-24 18:35:27
Subject: Re: URGENT: Undefined Symbols Using XCode 2.5 on Mac OS X 10.5
Previous:From: Jeroen T. VermeulenDate: 2007-12-23 13:16:41
Subject: Re: URGENT: Undefined Symbols Using XCode 2.5 on Mac OS X 10.5

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