在尝试编译程序 (pygobject) 时,运行 ./configure 时,系统提示我没有 glib。因此,我下载了 tarball 并进行了编译和安装,没有问题。现在,当我再次尝试 ./configure 软件包时,出现以下错误:
checking for GLIB - version >= 2.24.0...
*** 'pkg-config --modversion glib-2.0' returned 2.34.2, but GLIB (2.34.0)
*** 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: maybe you want the pygobject-2-4 branch?