CentOS 7/8 源码安装 mbedtls 2.16.3, 解决configure: error: mbed TLS libraries not found.
错误。
1、下载并解压
wget https://tls.mbed.org/download/mbedtls-2.16.3-gpl.tgz
tar -xf mbedtls-2.16.3-gpl.tgz
cd mbedtls-2.16.3
备用下载地址:https://down.24kplus.com/linux/mbedtls/mbedtls-2.16.3-gpl.tgz
2、编译安装
make
make DESTDIR=/usr install
ldconfig
如果出现 make[1]: python2: Command not found
错误,执行:
yum -y install python2
如果出现 /usr/bin/env: ‘perl’: No such file or directory
错误,执行:
yum -y install perl