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

Neil Tiffin <[email protected]>
Newsgroups gmane.comp.db.postgresql.interfaces
Message-ID <[email protected]>
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


---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.