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

[plamo:24081] Re: qt-mt not found?



末松です。

手元で確認したところでは
# find / -name libqt* の結果
/usr/lib/libqt-mt.prl
/usr/lib/libqt-mt.la
/usr/lib/libqt-mt.so.3.2.3
/usr/lib/libqt-mt.so.3
/usr/lib/libqt-mt.so
/usr/lib/libqt-mt.so.3.2

なので、
$ ./configure --with-qt-library=/usr/lib/

としてみましたが、同じ結果で終わってしまいます。

 googleとかで調べてみるとこのエラーはわりと多いみたいなのですが
解決法がわからずじまいです。


> > >error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!
> > >For more details about this problem, look at the end of config.log.
> > >Make sure that you have compiled Qt with thread support!
> > 
> > plamo-4.0をKDEなしでセットアップして qt-3.2.3-i386-P3.tgz を追加しています。
> > ldconfig -v で確認してみると、libqt-mt が表示されるのでちゃんと入っているみたいです。
> > 
> > どうすれば、configureにqt-mtを認識させることができるのでしょうか?
> > 
> 
> 確か,libqt は一般の configure スクリプトが期待するところとは違うディ
> レクトリに入っているので,ライブラリの位置を configure のオプションで
> 指示するか,適当なシンボリックリンクを張ってごまかす必要があったように
> 思います.
> 

なお、$ grep qt-mt config.log の結果は以下のようになりました。
参考になりますでしょうか。

configure:28521: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/include/qt -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -L/usr/lib -L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -lpthread 1>&5
/usr/lib/libqt-mt.so: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_terminal@GLIBCPP_3.2'
/usr/lib/libqt-mt.so: undefined reference to `operator new(unsigned)@GLIBCPP_3.2'
/usr/lib/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@GLIBCPP_3.2'
/usr/lib/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@GLIBCPP_3.2'
/usr/lib/libqt-mt.so: undefined reference to `__gxx_personality_v0@CXXABI_1.2'
/usr/lib/libqt-mt.so: undefined reference to `operator delete[](void*)@GLIBCPP_3.2'
/usr/lib/libqt-mt.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@GLIBCPP_3.2'
/usr/lib/libqt-mt.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.2'
/usr/lib/libqt-mt.so: undefined reference to `operator new[](unsigned)@GLIBCPP_3.2'
/usr/lib/libqt-mt.so: undefined reference to `operator delete(void*)@GLIBCPP_3.2'
configure:28564: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!



-- -------------------------------------
  (^^)/ 末松 史朗 @ 福岡市 東区 箱崎
  mailto:BYQ04143@nifty.ne.jp

Follow-Ups
[plamo:24087] Re: qt-mt not found?, KOJIMA Mitsuhiro
References
[plamo:24067] qt-mt not found?, 末松 史朗
[plamo:24069] Re: qt-mt not found?, KOJIMA Mitsuhiro

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