Red Hat Bugzilla – Bug 83004
qt2 library is build against gcc 2.96
Last modified: 2007-04-18 12:50:26 EDT
Description of problem:
qt2 libary is built against gcc 2.96,
which means that it is not made with the
supplied compiler that is gcc 3.2 -
thus the libary is incompatible
due to the changed c++ name mangling
between those two compiler versions.
Version-Release number of selected component (if applicable):
qt2, gcc 2.96 & gcc 3.2
compile a qt based cpp program against qt2 library.
Steps to Reproduce:
massive list of unresolved symbols on linking stage
program should link against the provided librarys.
the librarys are considered to be an "alien" to the system.
i assmue this is caused by a broken SRPM that nobody has
noticed until now.
i do suggest those symlink sheme for /usr/lib location
qt2 -> qt2-gcc3.2
qt2-gcc3.2 -> qt-<qt2-version>-gcc3.2
qt3 -> qt3-gcc3.2
qt3-gcc3.2 -> qt-<qt3-version>-gcc3.2
and a similar sheme for any gcc 2.96 compiled libraries.
(in an environment with multiple compilers it is highly
important to have a smoothly ordered system of qt-libs.)
Hmm, qt2 is just a compat library, which is needed to run old qt applications
from 7.3. You have to use qt 3 if you want to build your qt applications with gcc3.2