LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-03-2003, 08:09 PM   #1
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Rep: Reputation: 15
glib error


I was trying ot isntall gaim .7, but I had a glib version error so I went to gtk.org and got all four tar.gz files. I've installed glib-2.2.3 without any problems, I've tried installing gtk+-2.2.4 but it says atk is missing so I've tried isntalling atk-1.2.4 but it says:

checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.2.3, but GLIB (2.2.1)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GLib. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error:
*** GLib 2.0 is required to build Gaim; please make sure you have the GLib
*** development headers installed. The latest version of GLib is
*** always available at http://www.gtk.org/.
Well I've tried installing gaim, considering that new glib has been installed..but same error.

I also tried installing using src.rpm, but when I run it with yast, its asks for CD2 of Suse 8.2 and I guess it should update the program, but when I run gaim again, its still the old version. So I don't know what to do, I'm not that great with linux so....
 
Old 10-04-2003, 10:51 PM   #2
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Go to www.usr-local-bin.org and click on the gaim link. .70 is available there in rpm form. Great site by the way.

You will have to add a line to /etc/ld.so.conf:

/opt/mozilla/lib

because gaim is linked to the moxilla libraries now.

click on the rpm in kongueror after you download it an click the "install with YaST" button and you should be good to go.

HTH
 
Old 10-05-2003, 08:32 AM   #3
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Thanks, last time I've checked they had an older version. But how would I resolve that problem though, I still want to install other program, and when I try to install themes, same error comes out.
 
Old 10-05-2003, 09:27 AM   #4
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
When do you get these errors?

Maybe I misunderstood, but it seemed like you were originally trying to compile from source tarball. The link I gave you is for SuSE rpms. Are you now getting dependency errors?

If you are getting these errors when you try to run gaim, then you may need to add the line I mentioned to ld.so.conf so the path to the mozilla libraries is listed.

Then run ldconfig or reboot.
 
Old 10-05-2003, 01:32 PM   #5
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Yes, originally, back in the days I did try the site you just gave me, but they had old version of gaim (.68) and I have .59 (it came with the OS), I tried installing the .68 at the time, but no luck, I don't know why the RPMs did not work. I then turned to tar and that's when I got the error so I tried installing glib (it went good, no poblems), but gtk+ and those two or three other files (refer to the first post) did not install at all, but since i got glib to install, I thought gaim from tar would work, but no luck. Then I went to the site you gave me since you told me that they have .70, I downloaded it, yet its still not working. I double clicked on it and pressed to install with Yast, then I pressed accept (no errors) and nothing happened, yast closed. I thought that was odd so I disabled the sources from reading from CD and make another (I'm talking about the 'change source of installation' in the yast2 control center), and them made the folder with the files from the site as the source of installation, it installed, configued and all, but when I try to run gaim, it won't start..so I don't know


Well that is my dilema, I don't know if this is much clearer than above, but I still have the problem. I was just wondering how to fix the tar error since it also shows up when I try to install a theme from tar.
 
Old 10-05-2003, 08:15 PM   #6
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
are you running mozilla 1.4. you will need this installed (from ulb) to get most of the other rpms to work. I would suggest (if you haven't allready) unistalling galeon and mozilla rpms. Then go to the site and download Moz 1.4-2 rpms and install them. Then try to install gaim .70 and galeon 1.3.9. these should work for you.
 
Old 10-07-2003, 03:57 PM   #7
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
Well the shell error was appearing long before I got mozilla installed..but I'm going to try to uninstall it now..and get the new one since I have 1.4

Let me change this around...I have 1.4-2, just noticed as I was about to uninstall it using yast..however it has notified me that: gaim 0.70-SUSE.ulib3.conflict when I tried to uninstall MOZILLA! not gaim...anyhow it says gaim requires:
libnspr4.so
libnss3.so
libnss3.so(NSS_3.2)
libnss3.so(NSS_3.3)
libplc4.so
libplds4.so
libsmime3.so
libsoftokn3.so
libssl3.so
libssl3.so(NSS_3.2)

are all of these seperate packages that I have to install or is it on one, and where can I get it, or which is it. Also, why didn't this show up when I tried installing the rpm for gaim, but it shows up when I try to uninstall mozilla...uh

Last edited by niteshadw; 10-07-2003 at 04:14 PM.
 
Old 10-07-2003, 04:41 PM   #8
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
nevermind..I got it to run...hopefully it will stay this way... =D thanks for the help anyhow
 
Old 10-07-2003, 05:14 PM   #9
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
wow, this is horrible...I still can't install from tar...I tried updating xmms...

checking for glib-config... no
checking for GLIB - version >= 1.2.2... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: *** GLIB >= 1.2.2 not installed - please install first ***
 
Old 10-08-2003, 11:04 PM   #10
kaega2
Member
 
Registered: Sep 2003
Location: Ontario, Canada
Distribution: Gentoo 2004.3
Posts: 195

Rep: Reputation: 30
I'm getting this same error. It seems to me just to be a configuration problem. I usually get this error with any tar installer that checks for glib (I mean any!!!). I think all you have to do is change a path in a file. But I don't know which file.

Lets stop with the workarounds, we're eventually going to run into problems where we don't have RPM's. Does anyone know how to fix this?
 
Old 10-09-2003, 09:05 PM   #11
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
Entering the following on my installation renders the following:

steve@bertha:~> rpm -qa | grep glib
glibc-2.3.2-6
glibc-locale-2.3.2-6
glib-1.2.10-372 <------- LOOK
glibc-devel-2.3.2-6
glib2-2.2.1-18
glibc-html-2.3.2-6
glibc-i18ndata-2.3.2-6
glibc-info-2.3.2-6

Do the same on your machine and if you don't see it listed you need to install it from the CD's.

HTH
 
Old 10-10-2003, 05:30 AM   #12
niteshadw
Member
 
Registered: Sep 2002
Distribution: CentOS
Posts: 170

Original Poster
Rep: Reputation: 15
glibc-2.3.2-6
glib-1.2.10-372
glibc-locale-2.3.2-6
glib2-2.2.1-18
glibc-devel-2.3.2-6

this is what I get

I just installed everything, so its now:

glibc-2.3.2-6
glib-1.2.10-372
glibc-locale-2.3.2-6
glib2-2.2.1-18
glibc-devel-2.3.2-6
glibc-html-2.3.2-6
glibc-i18ndata-2.3.2-6
glibc-info-2.3.2-6
glib-devel-1.2.10-372
glib2-devel-2.2.1-18
glib2-doc-2.2.1-18


but same error...while attempting to update xmms

Last edited by niteshadw; 10-10-2003 at 05:36 AM.
 
Old 01-21-2006, 11:31 PM   #13
insolito
LQ Newbie
 
Registered: Jan 2006
Location: Bolivia
Distribution: Fedora Core 3
Posts: 1

Rep: Reputation: 0
I had the same error when I was trying to install xmms on Fedora Core

checking for GLIB - version >= 1.2.2... no

Then install glib-devel-1.2.10-15.i386.rpm and next
gtk+-devel-1.2.10-33.i386.rpm then usually install xmms.

Remenber first must to install glib-devel, last gtk+devel.

Last edited by insolito; 04-02-2006 at 08:47 PM.
 
  


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
xmms install (needs glib>1.22), just installed glib 2.4.8 and still get error message eskiled Linux - Software 2 12-19-2005 09:12 PM
MySQL GLib 2.3.4 Error? ToothlessRebel Linux - Software 4 10-28-2005 07:57 PM
glib-2.4.0 compile error trollman Linux - Software 2 04-09-2004 09:37 AM
glib-2.2.3. configure error eye Linux - Software 1 09-03-2003 09:24 AM
Glib error LinuxBAH Linux - General 11 07-07-2003 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 09:43 AM.

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