Originally Posted by nowshining
have u ran ldconfig? in a root type environement - i don't about CentOS, and I don't know if it uses sudo or not.
yes, I ran ldconfig and I'm user sudo.
I don't know, why have error and problemswith compile
libmodbus-1.2.4.tar.gz -> ./configure
please help me,
appending configuration tag "CXX" to libtool
appending configuration tag "F77" to libtool
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.7... yes
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.0.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
configure: error: libmodbus needs GLib 2.X