coolcobra 发表于 2005-9-28 00:01:42

求助:安装软件出错

./configure出现以下错误信息:

checking for pkg-config... (cached) /usr/local/bin/pkg-config
checking for GLIB - version >= 2.0.0...
*** 'pkg-config --modversion glib-2.0' returned 2.8.2, but GLIB (2.8.1)
*** 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:
*** GLIB 2.0.0 or better is required. The latest version of
*** GLIB is always available from ftp://ftp.gtk.org/. If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.

可是我已经安装了glib2.8.2了,错误提示虽然看上去还很明了,但是本人是新手,自己瞎改了点东西还是错误依旧,还望各位高手指教,越详细越好,谢谢了!

zhy2111314 发表于 2005-9-28 11:43:27

pkg-config和glibc版本不相符合,看来你好像安装了glibc 2.8.1,建议你删掉旧版本,你可以查看glibc的详细版本,还有就是在你的系统中哪个在起作用。
页: [1]
查看完整版本: 求助:安装软件出错