Re: stand-alone psql

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: stand-alone psql
Дата
Msg-id 200409011751.26948.peter_e@gmx.net
обсуждение исходный текст
Ответ на stand-alone psql  (John DeSoi <jd@icx.net>)
Ответы Re: stand-alone psql  (John DeSoi <jd@icx.net>)
Список 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/


В списке pgsql-general по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: <> syntax legal?
Следующее
От:
Дата:
Сообщение: Re: <> syntax legal?