LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kde 3.0.2 and qt probs... (https://www.linuxquestions.org/questions/linux-software-2/kde-3-0-2-and-qt-probs-26481/)

karinne 07-24-2002 12:41 PM

kde 3.0.2 and qt probs...
 
I've configured qt and now trying to run 'make' and get this error message:

-----------------------------
make[1]: Entering directory '/usr/src/kde3/qt/'
cd qmake && make
make[2]: Entering directory '/usr/src/kde3/qt/qmake'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/usr/src/kde3/qt/qmake'
cd src/moc && make
make[2]: Entering directory '/usr/src/kde3/qt/src/moc'
make[2]: *** No targets specified and no makefile found. Stop.
make[2]:Leaving directory '/usrc/src/kde3/qt/src/moc'
make[1]: *** [src-moc] Error 2
make[1]: Leaving directory '/usr/src/kde3/qt'
make: *** [init] Error 2
------------------------------

Any idea why I got no Makefile in qt/src/moc!??!

Is it a problem in the ./configure?!

After it configured I got the "Qt is now configured. You can run make....." but I got this whole string of

/usr/src/qt/bin/qmake: error while loading shared libraries: libstdc++.so.4: cannot open shared object file: No such file or directory

:confused:

Any help would be appreciated.

TIA

Config 07-25-2002 07:16 AM

In this case, libstc++.so.4 is missing, so you have to install it. I'm sure you can find it on your distro's disks. May be, the rpm is named libstdc++, or the description Standard c++ library. If it is already installed, make sure it is in the proper place, eg, look for it, and if it is in /usr/lib or /lib or (not likely) /usr/local/lib, run ldconfig to update the library database. If this still doesn't help, edit your /etc/ld.so.conf file and include the path to the libstdc++.so.4 (only the path), and then rerun ldconfig. Then, make should work
Good luck

Mara 07-25-2002 01:34 PM

You should have libstdc++ already installed. But it may be other version (libstdc++.so.x ). Find it. If you can, install the right version. If you can't, create a symlink and give it name "libstdc++.so.4".

karinne 07-25-2002 01:38 PM

Thanks but I figured it out finally!


All times are GMT -5. The time now is 04:04 AM.