gcc can't find libqt-mt

Christopher J. Bottaro cjbottaro at alumni.cs.utexas.edu
Wed Apr 20 15:56:20 UTC 2005


Instead of struggle to try to explain in english, let me just show you whats
happening...

[root at mobile tora-1.3.16]# gcc "-L/usr/lib" -Xlinker "--rpath=/usr/lib"
"-L/lib32" "-L/lib" "-L" "-L/usr/lib/qt-3.3/lib" -Xlinker "--rpath=/lib32"
-Xlinker "--rpath=/lib" -Xlinker "--rpath=" -Xlinker
"--rpath=/usr/lib/qt-3.3/lib"  -I`pwd` "-I/usr/include/kde" "-I/rdbms/demo"
"-I/plsql/public" "-I/rdbms/public" "-I/network/public" "-I/sdk/include"
"-I/usr/lib/qt-3.3/include" -lm -lpthread -lkdeprint -lkdecore -lkdeui
-lDCOP -lkhtml -lkparts -lkio -lcrypt -ldl  -lqt-mt 
-otemp /tmp/toraconfig.9341.cpp
/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status

[root at mobile tora-1.3.16]# ls -l /usr/lib/qt-3.3/lib/
total 15372
...snip...
lrwxrwxrwx  1 root root      17 Apr 20 10:30 libqt-mt.so ->
libqt-mt.so.3.3.4
lrwxrwxrwx  1 root root      17 Apr 20 10:30 libqt-mt.so.3 ->
libqt-mt.so.3.3.4
lrwxrwxrwx  1 root root      17 Apr 20 10:30 libqt-mt.so.3.3 ->
libqt-mt.so.3.3.4
-rwxr-xr-x  1 root root 7313928 Mar 24 11:09 libqt-mt.so.3.3.4
lrwxrwxrwx  1 root root      17 Apr 20 10:30 libqt.so -> libqt-mt.so.3.3.4
lrwxrwxrwx  1 root root      17 Apr 20 10:30 libqt.so.3 -> libqt-mt.so.3.3.4
...snip...

What the hell?  libqt-mt.so is sym linked to libqt-mt.so.3.3.4 and the dir
that they are in is specified on the gcc command line with
-L/usr/lib/qt-3.3/lib.  Arg!!  I'm so frustrated with software now. 
Everything is broken.  latest nforce drivers broke arts, koepte is driving
up a wall, and now this.  I want to scream.  Sorry, thanks for listening
and helping.




More information about the users mailing list