I'm trying to install syslog-ng and I've run into a problem when compiling the source. Here is the message that I receive:
checking for GLIB - version >= 2.10.1...
*** 'pkg-config --modversion glib-2.0' returned 2.18.4, but GLIB (2.6.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
configure: error: Cannot find GLIB version >= 2.10.1: is pkg-config in path?
How do I uninstall the previous version of GLIB?