Re: readline missing on linux?
От | dalgoda@ix.netcom.com (Mike Castle) |
---|---|
Тема | Re: readline missing on linux? |
Дата | |
Msg-id | t5rf01xesk.ln2@thune.mrc-home.org обсуждение исходный текст |
Ответ на | Re: readline missing on linux? (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-admin |
In article <28362.1060363698@sss.pgh.pa.us>, Tom Lane <tgl@sss.pgh.pa.us> wrote: >Bruce Momjian <pgman@candle.pha.pa.us> writes: >> Just a question --- if you link readline against -ltermcap when the >> library is created, you don't need to add -ltermcap when you link apps >> to readline, right? You somehow bind the dependency in to the shared >> library, right? > >It could be done that way, but apparently is not on many platforms. >What configure is testing for is to see whether "-lreadline" links >successfully without a following "-ltermcap". It doesn't. You also then create a difference between static and dynamic linking which a lot of people, such as myself, hate. -lreadline for dynamic linking but -lreadline -ltermcap for static linking? No thanks; I'd rather have consistency. mrc -- Mike Castle dalgoda@ix.netcom.com www.netcom.com/~dalgoda/ We are all of us living in the shadow of Manhattan. -- Watchmen fatal ("You are in a maze of twisty compiler features, all different"); -- gcc
В списке pgsql-admin по дате отправления: