Re: Static build of psql with readline support

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Martijn van Oosterhout <kleptog@svana.org>, Mark Kirkwood <markir@paradise.net.nz>, Hackers <pgsql-hackers@postgresql.org>
Date: 2006-03-23T20:25:08Z
Lists: pgsql-hackers
Christopher Kings-Lynne wrote:

>> To the GP, adding -lncurses (or rather the static equivalent) to your
>> link line should solve it. But if you include any other libraries like
>> ssl or kerberos be prepared to add a lot more.
>
>
> With -lncurses or -lcurses I still can't get this to work.  I add it 
> to the ${CC} line, right?
>


What is the virtue of this in any case? I can see considerable use for a 
statically linked pg_dump, to help with upgrading, but not too much for 
statically linked anything else, especially since we are now pretty 
relocatable on most platforms at least.

cheers

andrew