I tried to compile a QT program and it complain during "configure" like this
*** Could not run Qt test program, checking why...
*** Configure discovered/uses these settings:
*** Qt libraries: /usr/lib/qt-3.1/lib
*** Qt headers: /usr/lib/qt-3.1/include
*** Compilation of Qt utilities also might be turned off (if not wanted).
*** If you are experiencing problems which will not be described
*** bellow please report then on 'firstname.lastname@example.org' mailing list
*** (i.e. some misdetection or omitted path)
*** Qt test program compiled, but did not run. This usually means
*** that the run-time linker is not finding Qt library or finding the wrong
*** version of Qt. If it is not finding Qt, you will need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system.
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
*** i.e. bash> export LD_LIBRARY_PATH=/usr/lib/qt-3.1/lib:$LD_LIBRARY_PATH
I already check my /etc/ld.so.conf . one of the line in there is "/usr/lib/qt-3.1" . I also check the existance of the lib by going to "/usr/lib/qt-3.1/lib". My $QTDIR also OK . It points to "/usr/lib/qt-3.1". What other tricks I've been missing?..... and ofcourse I did thousand times of "ldconfig".