Results 1 to 4 of 4

Thread: QT Threading Errors

  1. #1
    Registered User
    Join Date
    Dec 2001
    Posts
    144

    QT Threading Errors

    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

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    6

    QT Compiling

    No idea... I had posted a thought, but it was wrong. (Edited message)

  3. #3
    Registered User
    Join Date
    Dec 2001
    Posts
    144
    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.

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    144
    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 ).

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On