PDA

View Full Version : QT Threading Errors



guice
12-19-2001, 11:11 PM
Running RedHat 7.1. Installing the needed files for V4. Got GCC3 to install w/out a hitch. Now I'm working on QT2.3.2 and I'm having a small problem. Followed all the instructions in QT's INSTALL file, but can't seem to get it compiled with -thread switch:

make[2]: Entering directory `/usr/local/qt'
cd src; make 'QT_THREAD_SUFFIX=-mt' 'QT_LFLAGS_MT=$(SYSCONF_LFLAGS_THREAD) $(SYSCONF_LIBS_THREAD)' 'QT_CXX_MT=$(SYSCONF_CXXFLAGS_THREAD) -DQT_THREAD_SUPPORT' 'QT_C_MT=$(SYSCONF_CFLAGS_THREAD) -DQT_THREAD_SUPPORT'
make[3]: Entering directory `/usr/local/qt/src'
/usr/local/qt/bin/moc kernel/qthread_unix.cpp -o kernel/qthread_unix.moc
/usr/local/qt/bin/moc: error while loading shared libraries: libstdc++.so.3: cannot open shared object file: No such file or directory
make[3]: *** [kernel/qthread_unix.moc] Error 127


Any Thoughts? Suggestions? Thanks

onnatop
12-20-2001, 02:12 PM
No idea... I had posted a thought, but it was wrong. (Edited message)

MisterSpock
12-20-2001, 02:40 PM
How did you install GCC? Build from tarball or through the RPM?

I had a similar problem with GCC3.0.2. If you are installing from RPM, libstdc++ is in a separate RPM and needs to be installed.

guice
12-24-2001, 12:48 PM
Installed GCC 3 from the source ball. Compiled and installed with all defalut values. In doing so, GCC has replaced all the old gcc2.9 files. ( gcc -v shows it's 3.0 ).