Unix Technical Forum

Old version of GLIB-2 causing problems???

This is a discussion on Old version of GLIB-2 causing problems??? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Has anyone ran into this problem. Was trying to install gaim but it required updated versions of GLIB2 atk ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-20-2008, 07:16 AM
ghost
 
Posts: n/a
Default Old version of GLIB-2 causing problems???

Has anyone ran into this problem. Was trying to install gaim but it
required updated versions of GLIB2 atk pango tiff and libpng. I
installed glib 2.6.4 w/ no prob. but during the configure of atk 1.9.0
it returned an error saying:

checking for GLIB - version >= 2.5.7...
***'pkg-config --modversion glib-2.0' returned 2.6.4, but GLIB (2.4.2)
*** 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 environment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.

ok, so I tried modding my LD_LIB.. and adding the appropriate paths to
ld.so.conf but still no luck. I've even tried removing all instances of
GLIB then reinstalling just GLIB 2.6.4 but ran into even more problems
because of other software that was dependent on GLIB 2.4.2. oh crap
....well if anyone has any ideas, suggestions , or anything, it will be
greatly appreciated,
psyops
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-20-2008, 07:16 AM
LiNuCe
 
Posts: n/a
Default Re: Old version of GLIB-2 causing problems???

Thu, 05 May 2005 19:31:35 GMT - ghost <xxpsyopsxx@gmail.com> :

You probably have two versions of GLib installed with different
prefix.

> Has anyone ran into this problem. Was trying to install gaim but it
> required updated versions of GLIB2 atk pango tiff and libpng. I
> installed glib 2.6.4 w/ no prob. but during the configure of atk 1.9.0
> it returned an error saying:
>
> checking for GLIB - version >= 2.5.7...
> ***'pkg-config --modversion glib-2.0' returned 2.6.4, but GLIB (2.4.2)
> *** 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 environment variable, or by editing
> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
> *** required on your system.
>
> ok, so I tried modding my LD_LIB.. and adding the appropriate paths to
> ld.so.conf but still no luck. I've even tried removing all instances of
> GLIB then reinstalling just GLIB 2.6.4 but ran into even more problems
> because of other software that was dependent on GLIB 2.4.2. oh crap
> ...well if anyone has any ideas, suggestions , or anything, it will be
> greatly appreciated,
> psyops

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-20-2008, 07:16 AM
ghost
 
Posts: n/a
Default Re: Old version of GLIB-2 causing problems???

On Thu, 05 May 2005 22:03:11 +0200, LiNuCe wrote:

> Thu, 05 May 2005 19:31:35 GMT - ghost <xxpsyopsxx@gmail.com> :
>
> You probably have two versions of GLib installed with different
> prefix.
>

I was thinking it might be that. I know that the prefix for my new
installis at /opt/someplace because I specify it during the config but I
don't know what the prefix is on the old glib 2.4.2. It was installed when
I installed slack 10 any ideas on it's default location?


>> Has anyone ran into this problem. Was trying to install gaim but it
>> required updated versions of GLIB2 atk pango tiff and libpng. I
>> installed glib 2.6.4 w/ no prob. but during the configure of atk 1.9.0
>> it returned an error saying:
>>
>> checking for GLIB - version >= 2.5.7...
>> ***'pkg-config --modversion glib-2.0' returned 2.6.4, but GLIB (2.4.2)
>> *** 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 environment variable, or by editing
>> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is
>> *** required on your system.
>>
>> ok, so I tried modding my LD_LIB.. and adding the appropriate paths to
>> ld.so.conf but still no luck. I've even tried removing all instances of
>> GLIB then reinstalling just GLIB 2.6.4 but ran into even more problems
>> because of other software that was dependent on GLIB 2.4.2. oh crap
>> ...well if anyone has any ideas, suggestions , or anything, it will be
>> greatly appreciated,
>> psyops


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-20-2008, 07:16 AM
LiNuCe
 
Posts: n/a
Default Re: Old version of GLIB-2 causing problems???

Thu, 05 May 2005 20:34:59 GMT - ghost <xxpsyopsxx@gmail.com> :

> > You probably have two versions of GLib installed with different
> > prefix.
> >

> I was thinking it might be that. I know that the prefix for my new
> installis at /opt/someplace because I specify it during the config
> but I don't know what the prefix is on the old glib 2.4.2. It was
> installed when I installed slack 10 any ideas on it's default
> location?


The glib2 packages for Slackware Linux 10.x are built with the
following command :

$ ./configure --prefix=/usr [others options]

To build a software against your GLib2 installed in /opt/someplace,
use the following commands (BASH) :

$ export PATH="/opt/somewhere/bin:$PATH"
$ export PKG_CONFIG_PATH="/opt/someplace/lib/pkgconfig"
$ ./configure [your options]

--
LiNuCe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-20-2008, 07:16 AM
ghost
 
Posts: n/a
Default Re: Old version of GLIB-2 causing problems???

On Thu, 05 May 2005 23:28:29 +0200, LiNuCe wrote:

> Thu, 05 May 2005 20:34:59 GMT - ghost <xxpsyopsxx@gmail.com> :
>
>> > You probably have two versions of GLib installed with different
>> > prefix.
>> >

>> I was thinking it might be that. I know that the prefix for my new
>> installis at /opt/someplace because I specify it during the config
>> but I don't know what the prefix is on the old glib 2.4.2. It was
>> installed when I installed slack 10 any ideas on it's default
>> location?

>
> The glib2 packages for Slackware Linux 10.x are built with the
> following command :
>
> $ ./configure --prefix=/usr [others options]
>
> To build a software against your GLib2 installed in /opt/someplace,
> use the following commands (BASH) :
>
> $ export PATH="/opt/somewhere/bin:$PATH"
> $ export PKG_CONFIG_PATH="/opt/someplace/lib/pkgconfig"
> $ ./configure [your options]

Thanks very much for the help! echo $PK_CON.. returned nothing. the
export PKG_CONFI... line solved the problem, thanx.
-psyops

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-20-2008, 07:17 AM
Grant Coady
 
Posts: n/a
Default Re: Old version of GLIB-2 causing problems???

On Thu, 5 May 2005 23:28:29 +0200, LiNuCe <linuce@localhost> wrote:
>
>The glib2 packages for Slackware Linux 10.x are built with the
>following command :


Add naming confusion C libraries and Gnome libraries...

--Grant.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:28 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com