缺少libtool依赖导致编译安装失败

今天安装一个测试数据库的过程中,编译安装rlwrap工具时出错。

如下。

[root@DB1 rlwrap-0.37]# ./configure
checking build system type... Invalid configuration `x86_64-unknown-linux-': machine `x86_64-unknown-linux' not recognized
configure: error: /bin/sh tools/config.sub x86_64-unknown-linux- failed   (报错信息)

解决如下。

经过查找资料,是由于缺少libtool相关依赖包导致的。安装好libtool相关工具即可。

这是一个依赖库安装工具,主要用来处理动态库的依赖关系。

[root@DB1 rlwrap-0.37]# yum -y install libtool libtool-ltdl libtool-ltdl-devel

安装好以后,重新编译安装rlwrap,即可成功。

原文地址:https://www.cnblogs.com/zqingfeng/p/6558992.html