Libtool安装问题

Libtool installation problems

本文关键字:问题 安装 Libtool      更新时间:2023-09-26
$ autoreconf -fi
src/Makefile.am:43: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:43: src/Makefile.am:43: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' 
src/Makefile.am:43: to `configure.ac' and run `aclocal' and `autoconf'
again. autoreconf: automake failed with exit status: 1

我改变了configure.ac,正如它所说,但是当我转向使用./configure时,仍然有一些错误:

./configure: line 19537: syntax error near unexpected token `[disable-fast-install'
./configure: line 19537: `LT_INIT#([disable-fast-install)]'

您需要重新安装以便修复错误,因此请遵循以下步骤:

1]如果安装了libtool: sudo apt-get purge libtool

2]从官方网站https://www.gnu.org/software/libtool/下载

3] Untar it: tar -xzvf "name of the tar_file"

4]进入文件夹并输入:./configure && make

5]安装:sudo make install

你完成了,错误应该被修复!