当前位置: 技术问答>linux和unix
configure: error: GLIB 2.0.0 ...
来源: 互联网 发布时间:2016-02-13
本文导语: 在redhat9上装了glib后,装atk,./configure时出现如下错误: *** Could not run GLIB test program, checking why... *** The test program failed to compile or link. See the file config.log for the *** exact error that occured. This usually means...
在redhat9上装了glib后,装atk,./configure时出现如下错误:
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
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.
我glib装的版本是2.12.1
以前的帖子(http://topic.csdn.net/t/20031109/13/2442540.html)有说:
要在/etc/ld.so.conf中指明你的glib安装的路径,然后运行ldconfig就好了,如果这个可行,具体怎么弄啊?
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
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.
我glib装的版本是2.12.1
以前的帖子(http://topic.csdn.net/t/20031109/13/2442540.html)有说:
要在/etc/ld.so.conf中指明你的glib安装的路径,然后运行ldconfig就好了,如果这个可行,具体怎么弄啊?
|
你的glib在哪个目录下?
如/mydir/
echo "/mydir" >>/etc/ld.so.conf
ldconfig
就可以了
root用户登陆
如/mydir/
echo "/mydir" >>/etc/ld.so.conf
ldconfig
就可以了
root用户登陆