[pgsql-jp: 26019] Re: psqlのreadline が使えません

Shinobu TAKANASHI sino @ e-turi.net
2002年 5月 18日 (土) 18:14:12 JST


高梨@CLUG と申します。はじめまして。

On Sat, 18 May 2002 16:54:00 +0900
"Shuichi Minamino" <ait-d @ hikoboshi.net> wrote:

> 詳しい事は分からないのですがconfig.logであやしいと思う所を
> 記載しておきます。
> -------------------------------------------------------------
> configure:3288: checking for readline
> configure:3310: gcc -o conftest -O2     conftest.c -lreadline  1>&5
(...snip...)
>     builtin and then its argument prototype would still apply.  */
> char readline();
> -------------------------------------------------------------

手元の環境(Kondara 2.0 崩れ ^^;) の config.log を見てみる
と、同様の状態になっています。が、psql で readline は使え
ています...。(なぜだろう

一応

$ ldd /usr/local/pgsql/bin/psql | grep readline
        libreadline.so.4.1 => /usr/lib/libreadline.so.4.1 (0x400c0000)

となっているので psql に libreadline は link されてはいるようですが。

/sbin/ldconfig -p で libreadline.so が認識されているか、もし認識され
ていなければ /sbin/ldconfig をオプション無しで root 権限で実行してみ
てはいかがでしょう。
#でも、 rpm で入れているのなら問題ないはずですが...。

曖昧な回答ですみません。
-- 
高梨  忍 / Shinobu TAKANASHI <sino @ e-turi.net>
[日記頁] http://fishdot.jp/~sino/ruby-diary/



pgsql-jp メーリングリストの案内