Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id B17322E3EA3 for ; Wed, 6 Feb 2008 16:02:52 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07682-02 for ; Wed, 6 Feb 2008 16:02:49 -0400 (AST) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.176]) by postgresql.org (Postfix) with ESMTP id BACF92E3E63 for ; Wed, 6 Feb 2008 16:02:48 -0400 (AST) Received: by ik-out-1112.google.com with SMTP id c21so515104ika.3 for ; Wed, 06 Feb 2008 12:02:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=MrgXgVDeu86vLC72QuEu5IVI+HXdDH2O0tPmKcE3Ng4=; b=htnz29cWvExw9EfCcEj6aGnLBQOaHPMz/8tLtWNObA9jS6C50ISMVJ4gQeqP9j2BrvJKv0N5t5wwppeRcYEHBlAPde1irf7GMuwleR2hKlIefTueTIPGBkCUZ4g1iBDx7AF7lnon0aguCmztQbfT9ots5n45JqGi+u2edQH0++s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=SqTWzCy3RJoLhy7IRIXPIMBzOTTT4gqAm79sJOC1mzFWxtLg1uf3fiwnKz5rVBG2eV/qIUPd5PnUcrmd+WIEhpYnNkZuOpK/vmcf/ofRNZJI4vglyTxIxO5YJITESRx9xhGtWsvPqpM1iUvardzfM6yGdz7j94ZjG8i+O4wlIKA= Received: by 10.78.182.17 with SMTP id e17mr18495583huf.67.1202328166856; Wed, 06 Feb 2008 12:02:46 -0800 (PST) Received: by 10.78.184.3 with HTTP; Wed, 6 Feb 2008 12:02:46 -0800 (PST) Message-ID: <57eba2250802061202n6bb014c7q38ed2835660ff71e@mail.gmail.com> Date: Wed, 6 Feb 2008 15:02:46 -0500 From: "Benjamin Reed" To: "Israel Brewster" Subject: Re: Mac OS 10.4/10.5 compile issues Cc: pgsql-ports@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/7 X-Sequence-Number: 2607 On Feb 6, 2008 2:36 PM, Israel Brewster 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/