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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| |||
| 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 |
| ||||
| 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. |