PDA

View Full Version : Running 32-bit application on 64-bit fedora10


Thangaraj
17th December 2009, 09:59 AM
Hello,
While compiling 32-bit application on 64-bit fedora10 (Intel Centrino 2- Dual core), using -m32 option in gcc compiler, I got the following error: /usr/bin/ld skipping incompatible /usr/lib/qt-3.3/lib/libqt-mt.so when searching for -lqt-mt
/usr/bin/ld cannot find -lqt-mt
collect2 :ld returned 1 exit status.
I have used /usr/lib/qt-3.3 for QT and /usr/lib for LD_LIBRARY

Please, help me to solve the problem.
Thank you.

with regards,
-Thangaraj

giulix
17th December 2009, 10:27 AM
I think 32-bit libraries can coexist with 64-bit ones on Linux, although I have no such type of installation. If my assumption is correct, you probably have the 64-bit package installed (yum provides "*/libqt-mt.so" yields qt3-devel which, translated for Fedora 12, should mean qt3-devel-3.3.8b-28.fc12.x86_64) and you need the 32-bit one, qt3-devel-3.3.8b-28.fc12.i686 on Fedora 12