在安装一个源码包时,出现下面一个库文件没有找到,其解决方法如下:
checking for GLIB - version >= 2.0.0... no
*** 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.
checking for GLIB2... configure: error: Package requirements (
glib-2.0 >= 2.18
) were not met:
No package 'glib-2.0' found
在Ubuntu操作系统中可以使用下面的命令进行安装:
解决方法 sudo apt-get install libglib2.0-dev
阅读(11107) | 评论(0) | 转发(0) |