Re: stand-alone psql

From: John DeSoi <jd(at)icx(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: stand-alone psql
Date: 2004-09-02 18:29:23
Message-ID: 035E36FE-FD0E-11D8-98D1-000A95B03262@icx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Sep 1, 2004, at 11:51 AM, Peter Eisentraut wrote:

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

Right, this was my thinking but I was hoping for a little more
direction from some one familiar with C. I have already spent hours
working on it and have not been able to get it to work. The task is
pretty daunting for some one without a strong background with
gcc/ld/make.

I thought I had it solved by putting the dynamic libraries in the psql
folder and using install_name_tool to change the paths. But when I
moved the folder from a 10.3 to a 10.2 Mac, I got an error about a
missing symbol in /usr/lib/libSystem.B.dylib (the library is there on
10.2, but I guess it is an older version). When I include the newer
libSystem.B.dylib with psql I get an error when I try to start it:

*** vm_page_shift incorrectly set to 12

Thanks for any further ideas or pointers.

John DeSoi, Ph.D.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2004-09-02 19:15:28 Re: psql \o weirdness
Previous Message Chester Kustarz 2004-09-02 18:11:38 Re: Odd problem in 7.4.2?