[pgsql-jp: 25885] Re: .configureでエラー(しつこくてすみません)

Toshimi Aoki toshi @ saluda.kinotrope.co.jp
2002年 5月 10日 (金) 03:11:05 JST


青木です。

yteraoka> 寺岡です。
yteraoka> 
yteraoka> > 山下@TBSです
yteraoka> > >configure は下記のエラーで終了していませんでしょうか。
yteraoka> > >| configure: error:
yteraoka> > >| *** Could not execute a simple test program.  This may be a problem
yteraoka> > >| *** related to locating shared libraries.  Check the file 'config.log'
yteraoka> > >| *** for the exact reason.
yteraoka> > >もしそうであるなら高田さんも仰ってる通り、LD_LIBRARY_PATH 関連だと思い
yteraoka> > >ます。
yteraoka> > >
yteraoka> > >
yteraoka> > 確かに上記メッセージで終わっています。
yteraoka> 
yteraoka> 今、手元の intel solaris8 で postgresql-7.2.1 を
yteraoka> コンパイルしてみましたが
yteraoka> ./configure \
yteraoka>   --prefix=/opt/pgsql \
yteraoka>   --enable-multibyte=EUC_JP \
yteraoka>   --enable-syslog \
yteraoka>   --enable-locale
yteraoka> で特に問題なく通りました。
yteraoka> LD_LIBRARY_PATH は設定してません。
yteraoka> configure オプションは何を指定されてますか?

/usr/local/lib などに libz や libreadline などがインストールされている
と、LD_LIBRARY_PATH が設定されていないとうまくいかないと思います。

LD_RUN_PATH を設定している場合はこの限りではありませんが。




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