glib-config problem
I was ./configure a software and error comes, how could i solve this issue
ecking for GLIB - version >= 1.2.10... *** 'glib-config --version' returned 1.2.2, 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 |
Did you follow the instructions provided by configure script?
|
NOTE: I'm fairly new to Linux myself, so if this is not correct, please correct me.
When glib was last configured someone might have used: Code:
./configure Code:
./configure --prefix=/usr Code:
sudo find / -name glib-2.0.pc -print /usr/lib/pkgconfig/glib-2.0.pc /usr/local/lib/pkgconfig/glib-2.0.pc Then you know that is the problem. If so, configure glib using Code:
./configure --prefix=/usr/local -Cryo2010 |
All times are GMT -5. The time now is 10:19 PM. |