Re: Static build of psql with readline support

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Static build of psql with readline support
Дата
Msg-id 20060323195018.GB17969@svana.org
обсуждение исходный текст
Ответ на Re: Static build of psql with readline support  (Christopher Kings-Lynne <chris.kings-lynne@calorieking.com>)
Список 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@svana.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.

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Where does the time go?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Where does the time go?