环境:
CentOS Linux release 7.9.2009 (Core)
Linux server01 5.12.0-1.el7.elrepo.x86_64 #1 SMP Sun Apr 25 17:27:47 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
首先卸载原有的libtool
[root@server01 Jool]# yum remove libtool -y
安装libtool2.6.4
[root@server01 Jool]# wget https://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.gz [root@server01 Jool]# tar -zxvf libtool-2.4.6.tar.gz [root@server01 Jool]# cd libtool-2.4.6 [root@server01 Jool]# ./configure --prefix=/usr [root@server01 Jool]# make && make installj
检查版本
[root@server01 Jool]# libtool --version libtool (GNU libtool) 2.4.6 Written by Gordon Matzigkeit, 1996 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for