[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[plamo:06906] Re: Don't exist /usr/lib/libpthread.so



From: Seiji Fukagawa <fukafuka@fsinet.or.jp>
Subject: [plamo:06851] Re: Don't exist /usr/lib/libpthread.so
Date: Sat, 19 Aug 2000 22:03:31 +0900
Message-ID: <20000819220403F.fukafuka@fsinet.or.jp>

> > 以前から気にはなっていたんですが、gtk や glib あたりのライブラリはデフォ
> > ルト通りの /usr/local/lib 以下にインストールすると他の configure スク
> > リプトからも問題なく見つかるのですが、--prefix=/usr として /usr/lib 以
> > 下にインストールした場合は、しばしば gtk のチェックに引っかかって 
> > configure が正常終了しないことがありました。
> > 
> > # --disable-gtk-check とかして胡麻化してコンパイルすれば動くんだけど
> > 
> > もしかしたら、これもライブラリをリンクする順番とかが関わっているのかな?
> 
>   それは具体的に何のコンパイルだったかわかります?
> configure の処理をもう少し詳しく追えば、どこで引っかかっているか
> 分かると思うのですが...。

手元の環境は開発中のものなのですが、libgtk を /usr/lib に入れた状態で、

kojima@hurricane# ls -l /usr/lib/libgtk*
lrwxrwxrwx   1 root     root           19  8月 27日  15:27 /usr/lib/libgtk-1.2.so.0 -> libgtk-1.2.so.0.5.3*
-rwxr-xr-x   1 root     root      1368939  8月 27日  15:26 /usr/lib/libgtk-1.2.so.0.5.3*
-rw-r--r--   1 root     root      1716166  8月 27日  15:26 /usr/lib/libgtk.a
-rwxr-xr-x   1 root     root          726  8月 27日  15:25 /usr/lib/libgtk.la*
lrwxrwxrwx   1 root     root           19  8月 27日  15:27 /usr/lib/libgtk.so -> libgtk-1.2.so.0.5.3*

kojima@hurricane# /usr/bin/gtk-config --version
1.2.8

となっているのに、xmms-1.2.2 を configure しようとすると

....
checking for glib-config... /usr/bin/glib-config
checking for GLIB - version >= 1.2.2... yes
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.2... no
*** Could not run GTK test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding GTK or finding the wrong
*** version of GTK. If it is not finding GTK, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
*** If you have a RedHat 5.0 system, you should remove the GTK package that
*** came with the system with the command
***
***    rpm --erase --nodeps gtk gtk-devel
configure: error: *** GTK+ >= 1.2.2 not installed - please install first ***

となりますね。libgtk を /usr/local にインストールした場合は問題なく通
るので、ちょっと気になっているところ。

# configure の処理を追いかけてみるかなぁ、、

-------
こじま

References
[plamo:06814] Don't exist /usr/lib/libpthread.so, Seiji Fukagawa
[plamo:06827] Re: Don't exist /usr/lib/libpthread.so, KOJIMA Mitsuhiro
[plamo:06851] Re: Don't exist /usr/lib/libpthread.so, Seiji Fukagawa

[検索ページ] [メール一覧]
Plamo ML 公開システム