Apple xCode 2.0 and linking with libpq.a

From: Stephane Pinel <spinel(at)noos(dot)fr>
To: PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Apple xCode 2.0 and linking with libpq.a
Date: 2005-06-15 21:44:27
Message-ID: 321CB3C1-11B7-4E9A-B871-65DFA59E519C@noos.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Sean Davis 2005-06-16 11:36:56 DBD::Pg without Postgresql installed
Previous Message Jeff Eckermann 2005-06-15 17:06:35 Re: users/users groups management from MS Access front-end