Re: stand-alone psql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: John DeSoi <jd(at)icx(dot)net>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: stand-alone psql
Date: 2004-09-01 15:51:26
Message-ID: 200409011751.26948.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

John DeSoi wrote:
> I'm looking for a way to build psql on OS X so that it can be copied
> to another computer without any external dependencies. In particular,
> if I build the standard distribution and then copy psql to another
> computer, I get an error that /mydir/.../lib/libpq.3.dylib cannot be
> found. This is probably basic make stuff, but I'm not sure where to
> start.

You could link psql statically. You would have to look up in your
compiler/linker manual how to do that though. The relevant makefile is
in src/bin/psql. Setting LDFLAGS globally to some option like -static
might work.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message terry 2004-09-01 15:58:15 Re: <> syntax legal?
Previous Message Peter Eisentraut 2004-09-01 15:48:59 Re: <> syntax legal?