From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com> |
Cc: | Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Static build of psql with readline support |
Date: | 2006-03-23 19:50:18 |
Message-ID: | 20060323195018.GB17969@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Thu, Mar 23, 2006 at 10:31:24AM +0800, 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?
I'm not sure what controls it, but it's quite possible -lcurses tries
to do a dynamic link again, you may need to specify the path to the .a
file.
Note, make sure you actually have the static version installed, not all
distributions come with static versions these days...
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-03-23 19:55:36 | Re: Where does the time go? |
Previous Message | Martijn van Oosterhout | 2006-03-23 19:47:04 | Re: Where does the time go? |