Fedora Core 3 Glib issues
Hey there guys,
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 Che |
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): ./configure --glib-library-path=/opt/glib2.5/lib or something similar. Hope this helped a bit! |
still no luck
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.
Thanks again Che |
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. |
heh...
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)
Che |
There is nothing wrong with yum on your machine. You can install all the pakages you require as follows,
Code:
#yum install gaim Code:
#yum install gimp Code:
#yum install glib2-devel Code:
#yum install gtk2-devel |
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.
|
Quote:
|
thanks for the help all
Thanks for all the help guys.
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! ;) Che |
All times are GMT -5. The time now is 02:23 AM. |