Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I got an update for Hydrogen that requires libQtGui.so.4. So does the dosbox emulator that I want to try.
I tried finding the library as RPM but I ended up with a pair of RPMs that each required the other as a dependency!
So I went all the way to the top and got the entire qt4-x11 suite directly from Trolltech's site.
I left it compiling for hours. I checked afterwards to make sure the notorious library was installed. It is in
/usr/local/Trolltech/Qt-4.2.2/lib/libQtGui.so.4 .
However the update of Hydrogen still fails because it finds no installable provider for that library. I assume that the dosbox will fail to operate too ( I installed this one through YaST Software manager from packman-bremen and ignored the dependency, planning to figure it out later ).
Is there a way to show them the path to the library? Is there a specific path that this library is expected to be found in? Maybe I could create a link there to the library?
Err-- I don't think dosbox needs QT?? (Well, at least mine doesn't...)
Also, if you want to install your applications using RPMs, but have not installed their dependencies via RPM, I doubt it will work!
If your libraries are in /usr/local then your Package manager doesn't know and doesn't care about them.
So, if you still want to follow your path further, then you also have to compile Hydrogen from the sources.
Look in /usr/local/Trolltech/Qt-4.2.2 if there is a ./bin directory which provides some sort of tool which returns the ./include and ./lib directories and other flags for the compiler
You have to tell the dynamic linker to look into these new directories:
* Append /usr/local/Trolltech/Qt-4.2.2/lib to LD_LIBRARY_PATH
* Put /usr/local/Trolltech/Qt-4.2.2/lib into /etc/ld.so.conf and run ldconfig
1) Build Hydrogen myself? yeah I guess Ican do that. I like RPMs because they are a lot faster and fix dependencies themselves. I kinda hate them for the same reason too. They are too isolated from the rest of the system...
2) I won't install the RPMs that require each other. First because I no longer need them, and second because, if they mess up qt3 along the way, then I might end up with no KDE anymore and I just reinstalled my system two days ago because KDE went to hell for an unknown reason.
3) Indeed dosbox doesn't require this library. The front end for it does.
4) Smart? Hmmm, I still need the RPM for Hydrogen don't I?
I think I'll try FnordPerfect's solution... I expect more applications to require qt4 as time passes by. If it fails I'll go with clean compilation.
RPM (and most package managers) do not see anything compiled from source. If you install an RPM, various information about it is stored in the rpm database, but this does not happen when you compile a package from source. Suse has qt4 rpms which you can install through YAST. Qt4 and qt3 can happily coexist on any distro, so installing qt4 rpms won't mess up your qt3 installation.
FnordPerfects solution won't work if you still want to install Hydrogen from an rpm because of the reasons just mentioned above (unless you use force and nodeps), but compiling from source after following his directions may work.
EDIT: So I did post a reply here... I thought it got lost and retyped it.
I had looked for qt4 RPMs and came up with nothing useable or was redirected back to trolltech. Obviously I didn't look in the right place? I'll snoop around again.
Last edited by scorpion_gr; 01-15-2007 at 03:09 AM.
EDIT: So I did post a reply here... I thought it got lost and retyped it.
I had looked for qt4 RPMs and came up with nothing useable or was redirected back to trolltech. Obviously I didn't look in the right place? I'll snoop around again.
If you are using SUSE as your profile suggests, qt4 rpms are already available using the Software Manager in YAST.
I normally use YaST indeed. But there are no qt4 packages on either packman.ui-bremen/suse/10.1 or suse/update/10.1 (whatever the exact urls are). I have looked at laest twice.
What other sources should I add?
EDIT: Oh, yeah there is the plain qt package that is version 4.1 and I have already installed it, but it doesn't provide the libraries libQt3Support.so.4 (required by the rpm that contains libQtGui.so.4) and libQtGui.so.4 (that is what I'm looking for).
I think I'm gonna go with the dual rpm installation.
Last edited by scorpion_gr; 01-16-2007 at 04:32 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.