sudo apt-get install perl g++ make automake libtool unzip
tar -xvf zlib-1.2.11.tar.gz
cd zlib-1.2.11
./configure
sudo make && make install
tar -xvf openssl-1.1.1k.tar.gz
./config
sudo make && make install
tar -xvf libevent-2.1.12-stable.tar.gz
cd libevent-2.1.12-stable
./configure
make && sudo make install
接着执行
sudo vim /etc/ld.so.conf
在"include ld.so.conf.d/*.conf"下方增加"/usr/local/lib"
接着执行
sudo /sbin/ldconfig -v