Well, I tried the suggestions but it didn't seem to help. I spent a little time perusing the config.log and found the following that seems to relate to the problem at hand: configure:28954: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib64 conftest.cc -lqt-mt -lpng -lz -lm -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status FWIW, the qt3-devel package is installed. It looks from the error message that the app needs Qt 3.2 or newer, so I don't think it's a versioning problem. It's beginning to look to me like I need to build Qt with thread support. Any thoughts/suggestions? The latest app I've been trying to build is Hearts 1.98 - an extremely important app. :o) I have also experienced this problem with attempting to build Scribus. I've got an older version of Scribus working, but I haven't been so lucky with Hearts. Does anyone know of a source for a precompiled SuSE version of an RPM? Thanks for the help. -- Bill Lugg Milstar Software Support Peterson AFB, CO On Sunday 18 September 2005 5:09 am, Donn Washburn wrote:
William H Lugg wrote:
I'm running 9.2 and have encountered this error after a ./configure several times.
"checking for Qt... configure: error: Qt (>= Qt 3.2) (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!"
Now, I looked in /usr/lib/qt3/lib and found libqt-mt.3.3.3 and a couple of links to it. I didn't build Qt, but installed it as part of the standard Linux installation process through YaST. I also checked /etc/ld.so.conf and found that while /usr/lib was there, the aforementioned folder was not so I added it and ran ldconfig. It seems like if the lib and its links are there, all should be good, but it's not.
I've also looked at some forum discussion and didn't find anything that fixed it. Have others encountered this problem? Do I really need to rebuild Qt with thread support? I know KDE itself is using threads so that doesn't seem right. If /etc/ld.so.conf contains /usr/lib, does the build environment know to look in subdirectories also?
Thanks for the help.
Try adding to /etc/ld.so.conf /usr/lib/qt3 and then run ldconfig. SuSE has refuse to adjust this file for years back to 6.# Or at least set it location to QTDIR=/usr/lib/qt3 Check to see if it is set with "env | grep QT"
William H Lugg wrote:
Well, I tried the suggestions but it didn't seem to help. I spent a little time perusing the config.log and found the following that seems to relate to the problem at hand:
configure:28954: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib64 conftest.cc -lqt-mt -lpng -lz -lm -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status
FWIW, the qt3-devel package is installed. It looks from the error message that the app needs Qt 3.2 or newer, so I don't think it's a versioning problem. It's beginning to look to me like I need to build Qt with thread support. Any thoughts/suggestions?
The latest app I've been trying to build is Hearts 1.98 - an extremely important app. :o) I have also experienced this problem with attempting to build Scribus. I've got an older version of Scribus working, but I haven't been so lucky with Hearts. Does anyone know of a source for a precompiled SuSE version of an RPM?
Thanks for the help. You need "--with-qtdir=/usr/lib64/qt3" with .configure. I use the following for configuring KDE apps. ./configure --prefix=/opt/kde3 --with-qtdir=/usr/lib64/qt3 --with-qt-libraries=/usr/lib64/qt3/lib64 --with-extra-libs=/usr/lib64 --enable-libsuffix=64 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
That did it! Thanks. Now, how did you figure that set of options to go with configure? IS there a document or HOW TO somewhere that would help me figure this out for another machine running on a 32-bit processor? Thanks again for the help. -- Bill Lugg Milstar Software Support Peterson AFB, CO On Tuesday 20 September 2005 10:57 am, Sid Boyce wrote:
William H Lugg wrote:
Well, I tried the suggestions but it didn't seem to help. I spent a little time perusing the config.log and found the following that seems to relate to the problem at hand:
configure:28954: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib/qt3/lib -L/usr/X11R6/lib64 conftest.cc -lqt-mt -lpng -lz -lm -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5 /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.4/../../../../x86_64-suse-linux/ bin/ld: cannot find -lqt-mt collect2: ld returned 1 exit status
FWIW, the qt3-devel package is installed. It looks from the error message that the app needs Qt 3.2 or newer, so I don't think it's a versioning problem. It's beginning to look to me like I need to build Qt with thread support. Any thoughts/suggestions?
The latest app I've been trying to build is Hearts 1.98 - an extremely important app. :o) I have also experienced this problem with attempting to build Scribus. I've got an older version of Scribus working, but I haven't been so lucky with Hearts. Does anyone know of a source for a precompiled SuSE version of an RPM?
Thanks for the help.
You need "--with-qtdir=/usr/lib64/qt3" with .configure. I use the following for configuring KDE apps. ./configure --prefix=/opt/kde3 --with-qtdir=/usr/lib64/qt3 --with-qt-libraries=/usr/lib64/qt3/lib64 --with-extra-libs=/usr/lib64 --enable-libsuffix=64 Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
William H Lugg wrote:
That did it! Thanks.
Now, how did you figure that set of options to go with configure? IS there a document or HOW TO somewhere that would help me figure this out for another machine running on a 32-bit processor?
Thanks again for the help.
I still haven't found anything that documents this and as usual, when all fails, RTFM, except I haven't got around to reading it. I started with a 9.1 ftp install, read the gcc manpage and when I came across generated Makefiles and errors pointing to e.g /usr/lib instead of /usr/lib64, I tried things. There was one problem where it kept looking in /usr/lib64 for most things, but /usr/lib for the odd thing and failed. Putting the problem to the SuSE guys, I got responses that I was doing something wrong, so when I told them the exact problem, never saw them on the 64-bit list again. Recently I've not come across any problems, 9.2 and 9.3 have been OK. The things you can't do. - get a 32-bit module to work with a 64-bit kernel or app, e.g smartmodem which contains a 32-bit proprietary module and get plugins for mozilla or MPlayer (both 64-bit) to work as they are only 32-bit plugins available, so you have to use the 32-bit apps if you need plugins. I've also come across some apps that wouldn't compile on 64-bit, even when changing the Makefiles by substituting /usr/lib64 for /usr/lib. For a 32-bit machine it's quite straightforward, for the same KDE app, "./configure --prefix=/opt/kde3 --sysconfdir=/etc --mandir=/usr/share/man". Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks
participants (2)
-
Sid Boyce
-
William H Lugg