'pkg-config --modversion glib-2.0' returned 2.34.1, but GLIB (2.32.3)
来源:互联网 发布:网络的发展与未来 编辑:程序博客网 时间:2024/05/12 16:27
glib:这步太关键了,浪费的时间机会全在这里,开始安装到pango及后面gtk时总报 checking for GLIB - version >;= 2.0.0... *** 'pkg-config --modversion glib-2.0' returned 2.12.4, but GLIB (2.2.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 is required to build Gaim; please make sure you have the GLib *** development headers installed. The latest version of GLib is *** always available at http://www.gtk.org/ . 真是被他气死,版本换到最高级还是不球行,网络上的解决方案几乎全没用,大量失败后发现原来是系统自带的glib2.2.1捣的鬼,要删除,怎么删呢,不会啊,于是接着找,谢谢deeperpurple提供了思路,方法如下: cd glib-2.14.2 make uninstall 反安装 #rm /usr/bin/glib* //删除系统自带 #rm /usr/local/lib/glib-2.0 //同上 重新编译安装 glib-2.14.2 还在/usr/local目录下, 然后配置环境变量 #export LD_LIBRARY_PATH=/usr/local/lib #export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig make install
- 'pkg-config --modversion glib-2.0' returned 2.34.1, but GLIB (2.32.3)
- pkg-config and "glib-2.0 >= 2.16" not found
- 详解pkg-config --cflags --libs glib-2.0的作用
- configure: error: pkg-config and "glib-2.0 >= 2.16" not found, please set GLIB_CFLAGS and GLIB_LIBS
- linux下安装pkg-config时遇到"glib-2.0>=2.16"的错
- 使用pkg-config升级和切换glib库
- glib
- GLib
- Glib
- glib
- glib
- 编译glib-2.32.4
- GLib学习笔记(3)
- GLib学习笔记(3)
- Glib 学习1
- Glib学习笔记(1)
- glib学习-1
- glib安装 glib使用手册
- vxworks系统下列表的使用
- get post 区别详解及引发中文乱码问题
- Java之美[从菜鸟到高手演变]之DB2 V10.1的安装【图文】
- 第二部分:OLE 数据传送(Data Transfer)
- 使用mysqldump备份MySQL数据库
- 'pkg-config --modversion glib-2.0' returned 2.34.1, but GLIB (2.32.3)
- char * a, char ** a, char * a[], char a[][], char * a[][], char ** a[][], char * a [][][], and so on
- LBP算子
- My SQL 应用总结
- ESC键退出
- 大数据下的数据分析平台架构
- Lowering the Latency
- spinlock的使用
- Oracle中index by binary_integer的作用