LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   conflicting glib versions and glib-config (https://www.linuxquestions.org/questions/linux-software-2/conflicting-glib-versions-and-glib-config-206130/)

scius 07-17-2004 01:11 AM

conflicting glib versions and glib-config
 
running a fresh install of mandrake 10.
i'd like to install xmms(and other programs) from source (none of that rpm business).
xmms needed gtk+, gtk needs glib. So after installing glib 1.2.9(no errors) gtk says
Code:

checking for GLIB - version >= 1.2.8...
*** 'glib-config --version' returned 1.2.9, but GLIB (1.2.10)
*** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure

So i guess i had 1.2.10 already installed (?).
1) I'm not sure how to remove the 1.2.9 i installed (is there an easy way?)... and if i did, it would seem i'd need a new glib-config, which i wasn't able to find for 1.2.10(see #3)
2) LD_LIBRARY_PATH is empty, and it wasn't clear how i should change this or /etc/ld.so.conf.
3) I couldn't find the 1.2.10 copy of glib-config (or really anything from 1.2.10 - i probably don't know what i'm looking for) so i'm not sure how to point to its glib-config (or remove it if that would help).
I would reinstall 1.2.10 but its source eludes me. I've reinstalled 1.2.9 but i don't know how to make 1.2.10 go away.
Google's been particularly stubborn about helping me, which generally means i don't know enough about whats going on to ask... Anyway, any suggestions would be great.
Thanks for your time,
graham

Also, another thread suggested 'rm usr/lib/libglib-1.2.so.0*' then running /sbin/ldconfig... however that seems pretty klugey, and i'm afraid of messing things up even more.

Andrew Benton 07-17-2004 04:44 AM

http://gd.tuwien.ac.at/graphics/gimp...-1.2.10.tar.gz If you install it, use ./configure --prefix=/usr . If you do, uninstall glib-1.2.9 first. Compile it with the same options you chose the first time but use the command make uninstall instead of make install.
To modify LD_LIBRARY_PATH,
export LD_LIBRARY_PATH=/usr/local/lib # or wherever you want to include

scius 07-17-2004 05:47 AM

thanks so much. i ran into the same problem with gtk, i guess mandrake just didn't put in the gtk/glib-configs when they installed... which is annoying. And gtk didn't have their latest version w/ the old ones, which is also a bit confusing. Installing the same versions over them from source fixed it all.
I think my two day jaunt in mandrake is over... while the easy install was nice, i miss gentoo.

Andrew Benton 07-17-2004 07:33 AM

All the stuff is there on the Mandrake CD's, you can install them with the package management tools in the Mandrake Control Centre. The names can be confusing though. It won't be called gtk-1.2.10, it'll be called something like libgtk-1.2.10-45768-mdk-devel. The important bits are the gtk, 1.2.10 and the dev - which means you can compile other things against it.
I found Mandrake was a good way in to using Linux but it's not stable enough for day to day use.

dobrotescunicol 07-28-2004 09:27 AM

I have the same problem. I can't find GTK. Can you please tell me the correct name of the package?

shaymaa 06-03-2008 02:35 AM

Quote:

Originally Posted by scius (Post 1051851)
running a fresh install of mandrake 10.
i'd like to install xmms(and other programs) from source (none of that rpm business).
xmms needed gtk+, gtk needs glib. So after installing glib 1.2.9(no errors) gtk says
Code:

checking for GLIB - version >= 1.2.8...
*** 'glib-config --version' returned 1.2.9, but GLIB (1.2.10)
*** was found! If glib-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 glib-config was wrong, set the environment variable GLIB_CONFIG
*** to point to the correct copy of glib-config, and remove the file config.cache
*** before re-running configure

So i guess i had 1.2.10 already installed (?).
1) I'm not sure how to remove the 1.2.9 i installed (is there an easy way?)... and if i did, it would seem i'd need a new glib-config, which i wasn't able to find for 1.2.10(see #3)
2) LD_LIBRARY_PATH is empty, and it wasn't clear how i should change this or /etc/ld.so.conf.
3) I couldn't find the 1.2.10 copy of glib-config (or really anything from 1.2.10 - i probably don't know what i'm looking for) so i'm not sure how to point to its glib-config (or remove it if that would help).
I would reinstall 1.2.10 but its source eludes me. I've reinstalled 1.2.9 but i don't know how to make 1.2.10 go away.
Google's been particularly stubborn about helping me, which generally means i don't know enough about whats going on to ask... Anyway, any suggestions would be great.
Thanks for your time,
graham

Also, another thread suggested 'rm usr/lib/libglib-1.2.so.0*' then running /sbin/ldconfig... however that seems pretty klugey, and i'm afraid of messing things up even more.

I had installed glib-2.14.4 and then I was obligated to install glib-2.8.0
when I configure atk-1.9.0 i met this error:
checking for GLIB - version >= 2.5.7...
*** 'pkg-config --modversion glib-2.0' returned 2.8.0, but GLIB (2.14.4)
*** 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.5.7 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

I removed glib-2.14.4 directories from all paths and : i typed
ldconfig -f /etc/ld.so.conf
then i retype:
[root@localhost atk-1.9.0]# ./configure --prefix=/usr/
I met the same error
where glib-2.14.4 existes and how to remove it.


Initialy i need to install mysql-workbench-5.0.21, what are library required and how to install


All times are GMT -5. The time now is 10:07 AM.