Problems compiling under v10 x86_64
I am trying to compile some KDE apps after installing v10. I installed the 64-bit version. I am running into errors when I try to compile, and the error doesn't make sense. My .bashrc has these variablse set: QTDIR=/usr/lib64/qt3 LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH PATH=$PATH:$QTDIR/bin export PATH LD_LIBRARY_PATH QTDIR QMAKESPEC=$QTDIR/mkspecs/linux-g++ export QMAKESPEC I receive this error when I compile: checking for Qt... configure: error: Qt (>= Qt 3.0.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! I check the log, and I see this: /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lqt-mt Can anyone explain why the error shows the wrong directory for the QT libraries? Thanks in advance.
On 10/12/05, sargon
I am trying to compile some KDE apps after installing v10. I installed the 64-bit version. I am running into errors when I try to compile, and the error doesn't make sense.
My .bashrc has these variablse set:
QTDIR=/usr/lib64/qt3 LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH PATH=$PATH:$QTDIR/bin export PATH LD_LIBRARY_PATH QTDIR
QMAKESPEC=$QTDIR/mkspecs/linux-g++ export QMAKESPEC
I receive this error when I compile:
checking for Qt... configure: error: Qt (>= Qt 3.0.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!
I check the log, and I see this:
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld:
cannot find -lqt-mt
Can anyone explain why the error shows the wrong directory for the QT libraries?
Thanks in advance.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Try this out. After some experimentation, this got me past ./configure on a program I'm trying to install on the same basic set-up as you have. ./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib/qt3 --with-qt-libraries=/usr/lib/qt3/lib64 --enable-libsuffix=64 Copy and paste that (I sure as hell don't type it every time) and I think you will be very pleased. --andy
On Wednesday, 12-October-2005 21:32, Andy Choens wrote:
Try this out. After some experimentation, this got me past ./configure on a program I'm trying to install on the same basic set-up as you have.
./configure --prefix=/opt/kde3 --with-qt-dir=/usr/lib/qt3 --with-qt-libraries=/usr/lib/qt3/lib64 --enable-libsuffix=64
Copy and paste that (I sure as hell don't type it every time) and I think you will be very pleased. --andy
You are THE man. That did it. Thanks.
You are THE man. That did it.
Thanks.
No problem. I just wish I could get digikam to go ahead and compile! So, if you get done with that and need a new challenge, I'm trying to get the make to pass on digikam so I can make a rpm for the latest and greatest offering from the digikam guys. --andy
sargon wrote:
I am trying to compile some KDE apps after installing v10. I installed the 64-bit version. I am running into errors when I try to compile, and the error doesn't make sense.
My .bashrc has these variablse set:
QTDIR=/usr/lib64/qt3 LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH PATH=$PATH:$QTDIR/bin export PATH LD_LIBRARY_PATH QTDIR
QMAKESPEC=$QTDIR/mkspecs/linux-g++ export QMAKESPEC
I receive this error when I compile:
checking for Qt... configure: error: Qt (>= Qt 3.0.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!
I check the log, and I see this:
/usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lqt-mt
Can anyone explain why the error shows the wrong directory for the QT libraries?
Thanks in advance.
The stuff in $QTDIR/lib is 32-bit, the 64-bit stuff is in $QTDIR/lib64. /ftp/digikam-0.8.0-beta2 # file /usr/lib64/qt3/lib/libqt-mt.so.3.3.4 /usr/lib64/qt3/lib/libqt-mt.so.3.3.4: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), stripped /ftp/digikam-0.8.0-beta2 # file /usr/lib64/qt3/lib64/libqt-mt.so.3.3.4 /usr/lib64/qt3/lib64/libqt-mt.so.3.3.4: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped 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 (3)
-
Andy Choens
-
sargon
-
Sid Boyce