"AM_PROG_LIBTOOL" 未在库中找到
"AM_PROG_LIBTOOL" not found in library
尝试在 centOS 7 中编译库时出现错误,我尝试重新安装 libtool,但没有帮助。下面是错误
+ autoreconf --install
configure.ac:32: warning: macro 'AM_PROG_LIBTOOL' not found in library
configure.ac:32: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
您可能需要:autoreconf -fvi
以确保所有内容都已更新。
还值得注意的是,AM_PROG_LIBTOOL
已弃用,应替换为 LT_INIT
,并可选择预先替换为 LT_PREREQ
。
我通过以下方式解决了它:
sudo yum 安装 libtool
尝试在 centOS 7 中编译库时出现错误,我尝试重新安装 libtool,但没有帮助。下面是错误
+ autoreconf --install
configure.ac:32: warning: macro 'AM_PROG_LIBTOOL' not found in library
configure.ac:32: error: possibly undefined macro: AM_PROG_LIBTOOL
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
autoreconf: /usr/bin/autoconf failed with exit status: 1
您可能需要:autoreconf -fvi
以确保所有内容都已更新。
还值得注意的是,AM_PROG_LIBTOOL
已弃用,应替换为 LT_INIT
,并可选择预先替换为 LT_PREREQ
。
我通过以下方式解决了它:
sudo yum 安装 libtool