Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to install this program called xchat and when i type ./configure
i get this error...
*** 'pkg-config --modversion glib-2.0' returned 2.6.0, but GLIB (2.4.7)
*** 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
I did install glib 2.6.0 after i installed pkg-config so i know that is why the error is happening but how do i fix it? I dont understand the explanation above.
Ive been working for hours trying to fix this and i am a ExtrEEEM Noob to linux
second is how did you install glib (i.e. did you just do ./configure, make, & make install)?
by default, ./configure without any options sets /usr/local as the root of install. So any libs will go to /usr/local/lib, executables will go to /usr/local/bin etc...
Most distros install glib-2.x in /usr/ so if this is your case and you did not remove the original one before doing make install in 2.6 you will end up with two glib-2.x's on your system.
you cannot install two of the same major versions on the same machine in different directories
such as glib-2.4.7 in /usr/lib and glib-2.6.0 in /usr/local/lib this is what pkg-config is complaining about
however, just FYI,
you can install say glib-2.6.0 and glib-1.2.10 on the same machine without any problems. (this is usually done on most distros)
Hi,
Before this if u try to configure xchat it will give the requirements that u need with glib etc,
I got the same error when i tried to install gtk+2.6.
For this i observed that i got a older version of pango
There was my fault. So u also did the same error th
Originally posted by whansard you can delete the old version of glib, probably in /usr/lib/ or reconfigure and install the newer glib using, configure --prefix=/usr.
I was having the same problem as the OP, when I was attempting to install the latest version of GIMP (2.2.3) on Mandrake 10.1. Your suggestion above fixed the problem for me. Thanks.
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
Quote:
Originally posted by KidsWriter71 I was having the same problem as the OP, when I was attempting to install the latest version of GIMP (2.2.3) on Mandrake 10.1. Your suggestion above fixed the problem for me. Thanks.
I often post that suggestion because i've seen that problem myself, and sometimes somebody posts back that what i said to try wouldn't make any difference. Thanks back.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.