Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [PORTS] Mac OS 10.4/10.5 compile issues

From: Benjamin Reed <rangerrick(at)gmail.com>
Date: Wed Feb 06 2008 - 15:02:46 EST


On Feb 6, 2008 2:36 PM, Israel Brewster <israel@frontierflying.com> wrote:

> dyld: lazy symbol binding failed: Symbol not found: _fcntl$UNIX2003
> Referenced from: /Volumes/MIS/AssetTracker/AssetTracker.app/
> Contents/MacOS/../Frameworks/libpq.5.dylib
> Expected in: /usr/lib/libSystem.B.dylib

This means you linked against the 10.5 version of libSystem.

> library that apparently exists on 10.5, but not 10.4. I figured that a
> static build of libpq should fix this problem, so I did a make

There's no such thing as a fully-static build on OSX (well, not without doing some hackery when linking). You end up with a static libpq, but libSystem is dynamic-only.

The way to fix this is to add "-isysroot /Developer/SDKs/MacOSX10.4u.sdk" to your flags, to get the 10.4 SDK.

-- 
Benjamin Reed a.k.a. Ranger Rick
Fink, KDE, and Mac OS X development
http://www.racoonfink.com/

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
Received on Wed Feb 6 15:04:33 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:39:12 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library