From: Benjamin Reed <rangerrick@gmail.com>
To: Israel Brewster <israel@frontierflying.com>
Cc: pgsql-ports@postgresql.org
Subject: Re: Mac OS 10.4/10.5 compile issues
Date: Wed, 6 Feb 2008 15:02:46 -0500
Message-ID: <57eba2250802061202n6bb014c7q38ed2835660ff71e@mail.gmail.com> (raw)
In-Reply-To: <DD23284A-8B94-451B-B58B-5667EFFB6CC3@frontierflying.com>
References: <DD23284A-8B94-451B-B58B-5667EFFB6CC3@frontierflying.com>
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/
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-ports@postgresql.org
Cc: rangerrick@gmail.com, israel@frontierflying.com
Subject: Re: Mac OS 10.4/10.5 compile issues
In-Reply-To: <57eba2250802061202n6bb014c7q38ed2835660ff71e@mail.gmail.com>
References: <DD23284A-8B94-451B-B58B-5667EFFB6CC3@frontierflying.com> <57eba2250802061202n6bb014c7q38ed2835660ff71e@mail.gmail.com>
* 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