Hi everyone, I am not sure if this is the correct mailling list but here we go. I am trying to upgrade GIMP on Suse 8.1 Pro, but this is what happens. ...... ...... checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.2.0... *** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6) *** 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: Test for GLIB failed. See the file 'INSTALL' for help. Anyone in here got any idea where glib leaves or where and how I can remove the old version of it? I have tried: r1co:/dsk/2/Linux/glib2 # rpm -qa | grep glib glib-1.2.10-305 glibc-profile-2.2.5-177 glibc-info-2.2.5-177 glib2-2.0.6-45 quake2-3.20-glibc-6 glibc-html-2.2.5-179 glibc-locale-2.2.5-177 glib2-devel-2.0.6-29 glibc-2.2.5-177 glibc-devel-2.2.5-177 r1co:/dsk/2/Linux/glib2 # ls -al total 2072 drwxr-xr-x 2 root root 4096 Sep 21 12:23 . drwxr-xr-x 107 root root 4096 Sep 21 12:10 .. -rw------- 1 root root 284733 Sep 21 12:23 glib2-2.0.6-45.i586.rpm -rw------- 1 root root 385049 Sep 21 12:11 glib2-2.2.1-18.i586.rpm -rw------- 1 root root 1421929 Sep 21 12:12 glibc-2.3.2-6.i586.rpm r1co:/dsk/2/Linux/glib2 # rpm -Uvh glib2-2.2.1-18.i586.rpm error: failed dependencies: libc.so.6(GLIBC_2.3) is needed by glib2-2.2.1-18 libpthread.so.0(GLIBC_2.3.2) is needed by glib2-2.2.1-18 r1co:/dsk/2/Linux/glib2 # rpm -Uvh glibc-2.3glibc-2.3.2-6.i586.rpm cannot read header at 0 for dependency check r1co:/dsk/2/Linux/glib2 # When I forced to Update to r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glibc-2.3glibc-2.3.2- 6.i586.rpm r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glib2-2.2.1-18.i586.rpm everything stopped working, I had to back track and returned to the previews versions. Any Idea??? Ricardo Wagemaker ---------------------------------------------------------------------- GVON BROADBAND the CHEAPEST in the LAND ... Just LOOK at these Prices £23 per month for 512K £89 per month for 1M £99 per month for 2M Are these prices for real? You bet. See http://gvon.com for more details and to ORDER NOW ONLINE Managed and Supplied by http://Gvon.Com and http://DomainShop.co.uk Gvon's HeyPresto WebMail is FREE for Customer Use Only
On Thu, 25 Sep 2003 11:58:51 +0100 Ricardo Wagemaker <ricardo@gcclinux.com> wrote:
glib2-2.0.6-45 glib2-devel-2.0.6-29
Your self compiled glib2 2.2.1 is in /usr/local, but you still have the above two packages installed (mostly likely in /usr). Remove these and you should be fine. Also, remember to add /usr/local/lib to /etc/ld.so.conf and run ldconfig. Charles -- "Linux poses a real challenge for those with a taste for late-night hacking (and/or conversations with God)." (By Matt Welsh)
Heya's First time poster, long time listner *8) Is there an Apt repository for SuSE at all, also can apt even be set up for SuSE? -- Kieran Farrell
Hi Kieran! here you go, enjoy! http://linux01.gwdg.de/apt4rpm/home.html -- michael On Fri, 26 Sep 2003, Kieran Farrell wrote:
Heya's
First time poster, long time listner *8)
Is there an Apt repository for SuSE at all, also can apt even be set up for SuSE?
On Friday 26 September 2003 09:43, Michael Galloway wrote:
Hi Kieran!
here you go, enjoy!
Thanks Michael -- Kieran Farrell
On Thursday 25 September 2003 12:58, Ricardo Wagemaker wrote:
When I forced to Update to r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glibc-2.3glibc-2.3.2- 6.i586.rpm r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glib2-2.2.1-18.i586.rpm
everything stopped working,
Yes, that is a very silly thing to do for two reasons. Firstly, glib is a userspace library for handling graphics operations together with the gimp toolkit. glibc is the most basic lib on your system, not to be touched unless you know what you're doing. Secondly, no package should ever be installed with --force for any reason whatever. If it doesn't work otherwise, don't touch it, it's broken! To get glib 2.2 you could look at ximian.com, it's available through their red-carpet service.
Hello, I had the same problem when compiling the latest version of gaim. The ./configure script uses pkg-config to see if you have glib installed onto your computer. That's why, when you issue in a command line: pkg-config --list-all should list you the glib library as installed. Sometimes, most probably this is the your problem, pkg-config returns an error even if you have glib installed correctly. So, when running the command above, you should not receive any error. If you receive one, solve it until the glib library is listed in the command's output. Hope this was comprehensive enough:) Regards, Alin. Ricardo Wagemaker wrote:
Hi everyone,
I am not sure if this is the correct mailling list but here we go.
I am trying to upgrade GIMP on Suse 8.1 Pro, but this is what happens. ...... ...... checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.2.0... *** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6) *** 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: Test for GLIB failed. See the file 'INSTALL' for help.
Anyone in here got any idea where glib leaves or where and how I can remove the old version of it?
I have tried:
r1co:/dsk/2/Linux/glib2 # rpm -qa | grep glib glib-1.2.10-305 glibc-profile-2.2.5-177 glibc-info-2.2.5-177 glib2-2.0.6-45 quake2-3.20-glibc-6 glibc-html-2.2.5-179 glibc-locale-2.2.5-177 glib2-devel-2.0.6-29 glibc-2.2.5-177 glibc-devel-2.2.5-177 r1co:/dsk/2/Linux/glib2 # ls -al total 2072 drwxr-xr-x 2 root root 4096 Sep 21 12:23 . drwxr-xr-x 107 root root 4096 Sep 21 12:10 .. -rw------- 1 root root 284733 Sep 21 12:23 glib2-2.0.6-45.i586.rpm -rw------- 1 root root 385049 Sep 21 12:11 glib2-2.2.1-18.i586.rpm -rw------- 1 root root 1421929 Sep 21 12:12 glibc-2.3.2-6.i586.rpm r1co:/dsk/2/Linux/glib2 # rpm -Uvh glib2-2.2.1-18.i586.rpm error: failed dependencies: libc.so.6(GLIBC_2.3) is needed by glib2-2.2.1-18 libpthread.so.0(GLIBC_2.3.2) is needed by glib2-2.2.1-18 r1co:/dsk/2/Linux/glib2 # rpm -Uvh glibc-2.3glibc-2.3.2-6.i586.rpm cannot read header at 0 for dependency check r1co:/dsk/2/Linux/glib2 # When I forced to Update to r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glibc-2.3glibc-2.3.2- 6.i586.rpm r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glib2-2.2.1-18.i586.rpm
everything stopped working,
I had to back track and returned to the previews versions.
Any Idea???
Ricardo Wagemaker
---------------------------------------------------------------------- GVON BROADBAND the CHEAPEST in the LAND ... Just LOOK at these Prices
£23 per month for 512K £89 per month for 1M £99 per month for 2M Are these prices for real? You bet.
See http://gvon.com for more details and to ORDER NOW ONLINE
Managed and Supplied by http://Gvon.Com and http://DomainShop.co.uk
Gvon's HeyPresto WebMail is FREE for Customer Use Only
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
:-( when I run pkg-config --list-all this is what I get: # pkg-config --list-all avifile avifile - A library for reading and writing of compressed video gmodule-2.0 GModule - Dynamic module loader for GLib glib-2.0 GLib - C Utility Library gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library gthread-2.0 GThread - Thread support for GLib # It does not seems to be a problem here! Any more suggestions??? Regards, Ricardo On Thu, 2003-09-25 at 11:26, Alin Dobre wrote:
Hello,
I had the same problem when compiling the latest version of gaim. The ./configure script uses pkg-config to see if you have glib installed onto your computer. That's why, when you issue in a command line: pkg-config --list-all should list you the glib library as installed. Sometimes, most probably this is the your problem, pkg-config returns an error even if you have glib installed correctly. So, when running the command above, you should not receive any error. If you receive one, solve it until the glib library is listed in the command's output.
Hope this was comprehensive enough:)
Regards, Alin.
Ricardo Wagemaker wrote:
Hi everyone,
I am not sure if this is the correct mailling list but here we go.
I am trying to upgrade GIMP on Suse 8.1 Pro, but this is what happens. ...... ...... checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.2.0... *** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6) *** 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: Test for GLIB failed. See the file 'INSTALL' for help.
Anyone in here got any idea where glib leaves or where and how I can remove the old version of it?
I have tried:
r1co:/dsk/2/Linux/glib2 # rpm -qa | grep glib glib-1.2.10-305 glibc-profile-2.2.5-177 glibc-info-2.2.5-177 glib2-2.0.6-45 quake2-3.20-glibc-6 glibc-html-2.2.5-179 glibc-locale-2.2.5-177 glib2-devel-2.0.6-29 glibc-2.2.5-177 glibc-devel-2.2.5-177 r1co:/dsk/2/Linux/glib2 # ls -al total 2072 drwxr-xr-x 2 root root 4096 Sep 21 12:23 . drwxr-xr-x 107 root root 4096 Sep 21 12:10 .. -rw------- 1 root root 284733 Sep 21 12:23 glib2-2.0.6-45.i586.rpm -rw------- 1 root root 385049 Sep 21 12:11 glib2-2.2.1-18.i586.rpm -rw------- 1 root root 1421929 Sep 21 12:12 glibc-2.3.2-6.i586.rpm r1co:/dsk/2/Linux/glib2 # rpm -Uvh glib2-2.2.1-18.i586.rpm error: failed dependencies: libc.so.6(GLIBC_2.3) is needed by glib2-2.2.1-18 libpthread.so.0(GLIBC_2.3.2) is needed by glib2-2.2.1-18 r1co:/dsk/2/Linux/glib2 # rpm -Uvh glibc-2.3glibc-2.3.2-6.i586.rpm cannot read header at 0 for dependency check r1co:/dsk/2/Linux/glib2 # When I forced to Update to r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glibc-2.3glibc-2.3.2- 6.i586.rpm r1co:/dsk/2/Linux/glib2 # rpm --force --nodeps -Uvh glib2-2.2.1-18.i586.rpm
everything stopped working,
I had to back track and returned to the previews versions.
Any Idea???
Ricardo Wagemaker
---------------------------------------------------------------------- GVON BROADBAND the CHEAPEST in the LAND ... Just LOOK at these Prices
£23 per month for 512K £89 per month for 1M £99 per month for 2M Are these prices for real? You bet.
See http://gvon.com for more details and to ORDER NOW ONLINE
Managed and Supplied by http://Gvon.Com and http://DomainShop.co.uk
Gvon's HeyPresto WebMail is FREE for Customer Use Only
-- Alin DOBRE Technical Support Engineer - RAV Division mailto:alin.dobre@ravantivirus.com http://www.ravantivirus.com --------------------------- This message is confidential. It may also be privileged or otherwise protected by work product immunity or other legal rules. If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.
On Thursday 25 September 2003 07:58, Ricardo Wagemaker wrote:
checking for pkg-config... /usr/local/bin/pkg-config checking for GLIB - version >= 2.2.0... *** 'pkg-config --modversion glib-2.0' returned 2.2.1, but GLIB (2.0.6) *** 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: Test for GLIB failed. See the file 'INSTALL' for help.
Anyone in here got any idea where glib leaves or where and how I can remove the old version of it?
I had a very similar problem yesterday. - Find where your glib 2.0.6 is. It is probably in /usr/lib. - Copy your updated glib to the same directory. Perhaps your updated glib is in /usr/local/lib, if you compiled it from sources, like I have just done. (We are copying the full name libraries, and not dealing with the symlinks) - As root, run ldconfig. If you run like "ldconfig -v | grep glib", you should see the symlink updated by ldconfig. Now pkg-config should not be able to find the old glib anymore and should not complain. The problem is that it complains even if the correct library is going to be loaded anyway, since /usr/local/lib is scanned before /usr/lib (as in /etc/ld.config.conf).
Has anyone got any ideas? Suse 8.1 Pro #rpm -Uvh glibc-2.3glibc-2.3.2-6.i586.rpm cannot read header at 0 for dependency check I would like to upgrade to glibc2.3 as many new packges depends on 2.3 Many thanks
On 25 Sep 2003 21:18:19 +0000 Ricardo Wagemaker <ricardo@gcclinux.com> wrote:
I would like to upgrade to glibc2.3 as many new packges depends on 2.3
Please don't, glibc is the most sensitive part of your system. Doing this will break all your packages installed, thus your system. You are better off compiling the new packages you want. Charles -- I did this 'cause Linux gives me a woody. It doesn't generate revenue. (Dave '-ddt->` Taylor, announcing DOOM for Linux)
participants (7)
-
Alin Dobre
-
Anders Johansson
-
Charles Philip Chan
-
Ivan Nazarenko
-
Kieran Farrell
-
Michael Galloway
-
Ricardo Wagemaker