pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: L. S. <lsearchw@lausd.k12.ca.us>
To: L. S. <lsearchw@lausd.k12.ca.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq and Mac OS X
Date: Mon, 31 May 2004 15:46:20 -0700
Message-ID: <40BBB5BC.9070009@lausd.k12.ca.us> (raw)
In-Reply-To: <40BB9C07.2080507@lausd.k12.ca.us>
References: <200405311758.i4VHwM205522@candle.pha.pa.us>
	<40BB9C07.2080507@lausd.k12.ca.us>

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.
>>
> 
> 




view thread (4+ messages)

Message-ID: <40BBB5BC.9070009@lausd.k12.ca.us>
Permalink:  ../40BBB5BC.9070009@lausd.k12.ca.us/
Also on:    postgresql.org/message-id/40BBB5BC.9070009@lausd.k12.ca.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: lsearchw@lausd.k12.ca.us, pgman@candle.pha.pa.us
  Subject: Re: libpq and Mac OS X
  In-Reply-To: <40BBB5BC.9070009@lausd.k12.ca.us>

* 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