解决:error: Libtool library used but 'LIBTOOL' is undefined
在编译spice库函数pixman时,出现:
pixman/Makefile.am:1: error: Libtool library used but 'LIBTOOL' is undefined
pixman/Makefile.am:1: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
pixman/Makefile.am:1: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
pixman/Makefile.am:1: If 'LT_INIT' is in 'configure.ac', make sure
pixman/Makefile.am:1: its definition is in aclocal's search path.
test/Makefile.am:5: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
意思是:configure.ac中定义了LT_INIT,但是aclocal搜索不到。而configure.ac是存在于libtool文件中。aclocal搜索configure.ac的途径是通过libtool.m4文件。
解决方法:
1)使aclocal文件夹和libtool文件夹在同一个目录下,且aclocal中包含libtool.m4,起到搭桥的作用;
2)在满足aclocal中有libtool.m4文件,且aclocal与libtool文件在同一目录下的同时,还需要检查aclocal的搜索路径是否定位到aclocal的父目录。
我的是搜索路径是:/usr/local/share/aclocal,但是我的aclocal与libtool的父目录是:/usr/share/aclocal。两者不同。
所有,要把搜索路径改了或者是在当前搜索路径下添加相应的文件。
1)修改搜索路径,发现改不了:
2)选择在当前搜索路径中添加相应的文件,重新编译后:
成功!
解决:error: Libtool library used but 'LIBTOOL' is undefined相关推荐
- error: Libtool library used but 'LIBTOOL' is undefined
编译时出现: error: Libtool library used but 'LIBTOOL' is undefined 参考了一下: http://stackoverflow.com/questi ...
- Libtool library used but LIBTOOL is undefined
nghttp2 报错error: Libtool library used but 'LIBTOOL' is undefined如果重新安装libtool和autoconf升级到2.69后,还是报错 ...
- Libtool library used but ‘LIBTOOL‘ is undefined
在执行mpich的./autogen.sh最后报错如下: Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined M ...
- 安装postgreSQL出现configure: error: zlib library not found解决方法
安装postgreSQL出现configure: error: zlib library not found解决方法 参考文章: (1)安装postgreSQL出现configure: error: ...
- configure: error: readline library not found 解决方法
安装postgreSQL出现错误提示 configure: error: readline library not found. 解决方法:yum install readline-devel ...
- configure: error: zlib library not found 解决方法
安装postgreSQL出现错误提示 configure: error: zlib library not found. 解决方法:yum install zlib-devel 详细过程如下: ...
- 安装postgreSQL出现configure:error:readline library not found解决方法
要安装 readline , readline-dev 开发包,要么使用 --without-readline 选项关闭 readline 功能. #yum install readline; #yu ...
- libtool: line 454 CDPATH libtool: line 1132: func_opt_split: : command not found
编译cacti-spine-0.8.8a源代码,在make时出现如下错误: ../../libtool: line 454: CDPATH: command not found ../../libto ...
- 解决Error: undefined reference to `__android_log_print'
解决Error: undefined reference to `__android_log_print' 最近在使用Android Studio进行NDK开发时,程序本身是没有问题,但一旦添 ...
最新文章
- node中模块、AMD与CMD、ES6模块,node中使用ES6
- 前端资源构建-Grunt环境搭建
- 【数字信号处理】序列傅里叶变换 ( 序列傅里叶变换定义详细分析 | 证明单位复指数序列正交完备性 | 序列存在傅里叶变换的性质 | 序列绝对可和 → 序列傅里叶变换一定存在 )
- 【Android 逆向】使用 Python 解析 ELF 文件 ( Capstone 反汇编 ELF 文件中的机器码数据 | 创建反汇编解析器实例对象 | 设置汇编解析器显示细节 )
- 基于Spring+SpringMVC+Mybatis的分布式敏捷开发系统架构(附源码)
- 职业高中计算机英语教案,信息技术与中学英语整合课教学设计
- javascript 点点滴滴01章 javascript的认知
- STL源码剖析 迭代器的概念和traits编程技法
- java虚拟机规范阅读(三)异常
- python中pandas是指什么_Python中的神器Pandas,但是有人说Pandas慢...
- yconsole使用说明
- wms仓库管理系统选型要注意哪几点?
- 2019.01.02 bzoj3513: [MUTC2013]idiots(fft)
- struts2学习笔记(一):配置struts2开发环境
- Python开发之用户密码存储
- java工程师职业价值观_什么是职业价值观?舒伯职业价值观测试
- Win10隐藏语言栏
- 不要用战术上的勤奋掩盖战略上的懒惰
- Linpack测试环境的搭建
- nmap 扫描局域网内的机器 扫描指定电脑的开放的端口
热门文章
- 文档拍摄技巧之相机要求与照明
- Xenapp appcenter初始化报错:Errors occurred when using XAC-1 in the discovery process
- 物理材质(Physics Materials)
- 线性回归算法原理及python实现
- 从根源上看屏幕点击事件是如何传递到View中的(上)-事件获取
- android onresume 焦点,Android – 是否有一个回调,在onResume()之后被调用?
- 下一代Windows系统,Win11要来了?
- 迪米特法则(最少知识原则)
- python--装饰器
- 【计算机毕业设计】java+mysql基于ssm的美容美发店管理系统