wget http://www.openssl.org/source/openssl-1.1.0c.tar.gz
wget http://www.nlnetlabs.nl/downloads/ldns/ldns-1.7.0.tar.gz
./config --prefix=/usr/local/bin/openssl-1.1.0c/openssl --openssldir=/usr/local/bin/openssl-1.1.0c/ssl
./configure --prefix=/usr/local/bin/ldns-1.7.0 --with-ssl=/usr/local/bin/openssl-1.1.0c/openssl
//查看mod_enum模块的依赖 ldd /usr/local/freeswitch/mod/mod_enum.so
libldns.so.1 => /lib64/libldns.so.1 (0x00007f66862ac000)
cd /usr/local/bin/ldns-1.7.0/lib
ln -s libldns.so.2.0.0 libldns.so.1
添加环境变量
vim /etc/profile
PATH=/usr/local/bin/openssl-1.1.0c/openssl/bin:$PATH
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin/openssl-1.1.0c/openssl/lib
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/bin/ldns-1.7.0/lib
export PATH LD_LIBRARY_PATH
//环境变量生效
source /etc/profile
openssl version 查看版本是否升级
重启freeswitch 重新查看依赖