LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Fedora Core 3 Glib issues (https://www.linuxquestions.org/questions/linux-software-2/fedora-core-3-glib-issues-331225/)

checarsner 06-07-2005 09:51 AM

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

rylan76 06-07-2005 11:54 AM

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!

checarsner 06-07-2005 01:42 PM

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

rylan76 06-08-2005 12:56 PM

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.

checarsner 06-08-2005 01:02 PM

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

reddazz 06-09-2005 03:37 AM

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.
Code:

#yum install glib2-devel
and
Code:

#yum install gtk2-devel

rylan76 06-10-2005 12:58 AM

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.

reddazz 06-10-2005 05:41 AM

Quote:

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.

checarsner 06-10-2005 08:27 AM

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.