LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-07-2005, 09:51 AM   #1
checarsner
LQ Newbie
 
Registered: Jun 2005
Location: NYC
Distribution: Fedora Core 3
Posts: 7

Rep: Reputation: 0
Question 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
 
Old 06-07-2005, 11:54 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
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!
 
Old 06-07-2005, 01:42 PM   #3
checarsner
LQ Newbie
 
Registered: Jun 2005
Location: NYC
Distribution: Fedora Core 3
Posts: 7

Original Poster
Rep: Reputation: 0
Exclamation 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
 
Old 06-08-2005, 12:56 PM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
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.
 
Old 06-08-2005, 01:02 PM   #5
checarsner
LQ Newbie
 
Registered: Jun 2005
Location: NYC
Distribution: Fedora Core 3
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 06-09-2005, 03:37 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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
 
Old 06-10-2005, 12:58 AM   #7
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
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.
 
Old 06-10-2005, 05:41 AM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
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.
 
Old 06-10-2005, 08:27 AM   #9
checarsner
LQ Newbie
 
Registered: Jun 2005
Location: NYC
Distribution: Fedora Core 3
Posts: 7

Original Poster
Rep: Reputation: 0
Talking 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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 4 issues JRR883 Linux - Newbie 6 09-05-2005 08:51 PM
Fedora Core 3 Sound Issues DamianBrennan Fedora 14 04-15-2005 05:31 AM
Fedora Core 3 Install Issues ennbee Linux - Software 3 12-26-2004 08:01 AM
Can't install glib 1.2.10 on Fedora Core 3 sureshot324 Linux - Software 3 11-26-2004 05:12 AM
fedora core 2 and pcmcia issues noxious Linux - Wireless Networking 1 07-08-2004 08:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration