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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have been getting into linux lately and have even talked my employer into letting me use it on my desktop. Only problem is that when I am trying to install certain programs (Gimp, Gaim) I am having trouble getting certain Glib libs to work. For example, I used YUM to update all my dependancies, but when I try to install Gaim 1.3 it says it can't find Glib 2.0.0, but when I try to ./configure Gimp2.2 it tells me I am missing Glib 2.5.4. When I do a Yum update command it says I am not missing any dependancies, so I went and found Glib 2.0.0 and ./configure make make install, then tried again.. no luck. To convince everyone in my office that linux is superior I am going to have to get this working. Can any of you guru's help, and explain??? TIA
Have you tried installing GLIB to a prefix directory, and then putting that prefix in the LD_LIBRARY_PATH environment variable to make your compiler find the "new" GLIB before the old one? Try this:
1. Configure GLIB like this:
./configure --prefix=/opt/glib2.5 (or whatever your GLIB version is)
2. Make and make install GLIB.
3. Make sure you run /sbin/ldconfig AFTER dong the GLIB "make install" step.
4. Change your LD_LIBRARY_PATH to include the path to the new GLIB before any other LD_LIBRARY_PATHS. Put this in your .bashrc:
LD_LIBRARY_PATH=/opt/glib2.5/lib:$LD_LIBRARY_PATH
5. Close the terminal you edited the .bashrc in and reopen it - it should now have the new LD_LIBRARY_PATH environment variable set.
6. Attempt again to compile your problem applications that require GLIB. If they still can't find it, try going ./configure --help in the directory of the problem application - see if there is a way to explicity specify a library. GAIM, I think, can take a parameter to GLIB, something like (when configuring):
I tried both of your suggestions, and neither of them worked for me. Thanks for responding though. If you can think of anything else, or somewhere else to look I would appriciate it.
I think YUM is the culprit - personally, I don't trust RPM as a system to distribute software, or YUM itself. I prefer to get everything in .tar.gz (i. e. "raw" source) format and compile and install it myself, and also fix dependencies by myself. Has worked perfectly so far for me.
Could it be that YUM is messing up your setup somehow? Have you tried directly downloading and installing libraries? I am assuming so since you said you tried the suggestion... can't think of much else that you can do except get .tar.gz / tar.bz2 files instead of .rpm's or using YUM.
I have only tried getting the tar.gz files and ./configure gmake gmake install.. I can't get yum to recognize glib or the others at all... do you have a better package manager that you can recommend for FC3? (not a big fan of rpm either)
There is nothing wrong with yum on your machine. You can install all the pakages you require as follows,
Code:
#yum install gaim
or
Code:
#yum install gimp
There is no need to compile unless you really want to. As for the missing packages when you are compiling, you need to install their development packages e.g.
Nope - this wole package management thing seems to me to be too much of a Windows-like tendency to not work properly. I can't recommend any other manager.
Originally posted by rylan76 Nope - this wole package management thing seems to me to be too much of a Windows-like tendency to not work properly. I can't recommend any other manager.
Well yum works pretty well on Fedora Core and all its derivative distros so I can't make sense of your argument that yum is the culprit. The person who started the thread was missing development files that why they couldn't compile. Its simple enough to use yum to install those required dependencies.
It was just a matter of learning to use yum correctly. I got everything working like a charm! Now I am going to impress all the hot girls at work with my fluxbox!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.