Upgrade qt3 -> qt4. Symlinks still point to qt3
I seem to have solved a major sound prob by installing ALSA OSS.
Now I want to install Last.fm Last.fm wants : the Qt4 toolchain. Running "qmake -v" should identify as version 4.x.x. [root@bilbo bin]# qmake -v Qmake version: 1.07a (Qt 3.3.4) Qmake is free software from Trolltech AS. Alrighty then... [root@bilbo base]# cd /var/cache/yum/base [root@bilbo base]# yum install qt4 Setting up Install Process ... Running Transaction Installing: qt4 ######################### [1/1] Installed: qt4.i386 0:4.1.5-2.fc4 Complete! ______________ However, all of the /usr/bin symlinks still point to QT3... Code:
lrwxrwxrwx 1 root root 29 Mar 11 21:17 qtrename140 -> ../lib/qt-3.3/bin/qtrename140 Re-point each and every one, she asked? [root@bilbo cd /usr/lib [root@bilbo lib]# ls -lrt -- snippet -- Code:
lrwxrwxrwx 1 root root 17 Jun 7 17:47 libQtXml.so.4.1 -> libQtXml.so.4.1.5 So replaced qt-3.3 with qt4 in [root@bilbo qt4]# cd /etc/ld.so.conf.d [root@bilbo ld.so.conf.d]# vi qt-i386.conf Replace: /usr/lib/qt-3.3/lib With: /usr/lib/qt4/lib Then did [root@bilbo ld.so.conf.d]# ldconfig [root@bilbo ld.so.conf.d]# qmake -v Qmake version: 1.07a (Qt 3.3.4) Qmake is free software from Trolltech AS. [root@bilbo ld.so.conf.d]# sync [root@bilbo ld.so.conf.d]# sync [root@bilbo ld.so.conf.d]# sync [root@bilbo ld.so.conf.d]# sync [root@bilbo ld.so.conf.d]# sync [root@bilbo ld.so.conf.d]# qmake -v Qmake version: 1.07a (Qt 3.3.4) Qmake is free software from Trolltech AS. [root@bilbo ld.so.conf.d]# ---- Where did I go wrong? --- Oh. I see that qt4 wants to be found in /usr/lib NOT /usr/lib/qt4/bin Does that make a difference? ---- Nope. --- Back to Where did I go wrong? I suppose I could manually do this. Sigh... Methinks I'm missing something with ldconfig. This is most likely. Can you see what? Many thanks, alar |
since it seems these packages want to install side by side then somehow they must work independantly.
they are also not compatable in any way so changing links to libs and everything using qt will be broken. look and see if you don't have some executables somewhere as part of qt4 package called things like moc-qt4, uic-qt4 and qmake-qt4 and junk like that. mess with links to these called moc, uic and qmake. it will be easy enough to put back if you want later. make sure you don't overwrite your qt3 tools with links to qt4 tools though |
All times are GMT -5. The time now is 08:30 AM. |