X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9C6C1D1B233 for ; Mon, 31 May 2004 19:47:57 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 61119-08 for ; Mon, 31 May 2004 19:47:59 -0300 (ADT) Received: from nav.lausd.net (mailout.lausd.k12.ca.us [209.232.1.43]) by svr1.postgresql.org (Postfix) with SMTP id 15F38D1B18C for ; Mon, 31 May 2004 19:47:55 -0300 (ADT) Received: from lausd.k12.ca.us ([10.139.126.251]) by nav.lausd.net (SAVSMTP 3.1.3.37) with SMTP id M2004053115474712707 ; Mon, 31 May 2004 15:47:48 -0700 Message-ID: <40BBB5BC.9070009@lausd.k12.ca.us> Date: Mon, 31 May 2004 15:46:20 -0700 From: "L. S." User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "L. S." Cc: Bruce Momjian , pgsql-interfaces@postgresql.org Subject: Re: libpq and Mac OS X References: <200405311758.i4VHwM205522@candle.pha.pa.us> <40BB9C07.2080507@lausd.k12.ca.us> In-Reply-To: <40BB9C07.2080507@lausd.k12.ca.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/36 X-Sequence-Number: 4928 Okay. I had been using an abbreviated compile command to deal with the libpq libraries on my Linux machine. It worked fine on Linux, but failed on Mac OS X. (Looking at the make files hinted at this.) Looking back at libpq-build.html and using the commands in their intended form, my stuff compiled on OS X (and Linux), no problem. L. S. wrote: > That's right! I didn't even think of looking at the file that deals with > compiling psql (which works). The source files have helped shade in the > gray areas, in the past. > > Thanks. > > Bruce Momjian wrote: > >> L. S. wrote: >> >>> Is it possible to link C apps with libpq under OS X? >>> I've seen discussion of it in the archives, but there seems to be no >>> solution. >>> >>> Since my last Powerbook G3 died (which had wide OS support), my new >>> 2004 Powerbook G4, which only accepts OS X well* is what I have as my >>> portable development environment. >> >> >> >> Certainly it can be done. All the PostgreSQL client apps use libpq, so >> you can look at the compile line used by psql or pg_dump. We are >> working on making it easier in 7.5. >> > >