Red Hat Bugzilla – Bug 63575
Building qt requires qt installed
Last modified: 2007-04-18 12:42:01 EDT
Description of Problem:
The build process for Qt builds a utility 'uic' and then runs it. This uic
program is linked against libqutil.so. It ought to use the libqutil.so that was
just build as part of Qt. But instead it tries to use the libqutil.so already
installed on the system. Of course if you already have qt-2.x installed this
works - but otherwise it can't find the library. In effect, qt-2.x requires
itself installed to build.
Version-Release number of selected component (if applicable):
Uninstall qt and packages depending on it. rpm --rebuild qt-2.3.1.src.rpm.
Suggested fix is to modify LD_LIBRARY_PATH during build process when running uic
and any other utilities built. Alternatively make qt a BuildRequires for qt
(chicken and egg).
Fixed in the current version.