From: | Ashley Clark <aclark(at)ghoti(dot)org> |
---|---|
To: | Stephane Pinel <spinel(at)noos(dot)fr> |
Cc: | PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: Apple xCode 2.0 and linking with libpq.a |
Date: | 2005-06-16 20:11:04 |
Message-ID: | 26BFF06A-03F9-47C4-9E72-096C0F75699B@ghoti.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
I've noticed this too and for a quick fix you can move the
libpq*.dylib files out of that directory and it should use the static
library.
On Jun 15, 2005, at 4:44 PM, Stephane Pinel wrote:
> Hello,
>
> I have a project that used to compile and link fine with Apple
> xCode 1.5 on Panther (MacOS X 10.3.X).
>
> Since I've upgraded to MacOS X 10.4.1 and Apple xCode 2, my project
> seems to search for a dynamic link
> (libpq.dylib) instead of libpq.a as setted in the project. First I
> haven't seen this because all my Macs have
> a PostgreSQL installed. But from an other Mac, where there is no
> PostgreSQL install, my app didn't work and
> apparently looked at a libpq.dylib.
>
> Any idea on how to set up properly my xCode 2 project in order to
> link statically, just like before ?
>
> Thank you very much.
>
> Stephane
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
> majordomo(at)postgresql(dot)org
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Behzad Mahini | 2005-06-18 19:46:17 | Re: making contact via perl |
Previous Message | Christof Petig | 2005-06-16 14:45:58 | Re: libecpg (8.0 and CVS) hits a gcc bug on powerpc |