Ubuntu16.04.4 编译安装ssldump1.1

安装步骤:

sudo wget https://github.com/adulau/ssldump/archive/v1.1.tar.gz -O /usr/local/src/ssldump-v1.1.tar.gz
cd /usr/local/src
tar -zxvf ssldump-v1.1.tar.gz 

出现Couldn't find PCAP includes

sudo apt-get install libsqlite3-dev libpcap-dev 
sudo apt-get install libsqlite3-0 libpcap0.8  

出现configure: error: Couldn't find PCAP library: needed for ssldump

sudo apt-get install libsqlite3-0 libpcap0.8 
sudo apt-get install libpcap-dev 

编译安装

sudo ./configure --with-pcap-lib=/usr/lib/x86_64-linux-gnu/ --with-pcap-inc=/usr/include/pcap --with-openssl-lib=/lib/i386-linux-gnu/libssl.so.1.0.0

参考来源:

https://askubuntu.com/questions/568859/error-pcap-library-not-found

https://stackoverflow.com/questions/22215781/configure-throwing-error-with-ssldump-code-base

https://www.cnblogs.com/qq952693358/p/7603337.html

成功安装截图

笔者运行了一段时间出现Segment Fault,不懂什么原因,apt install的也是Segment Falut,可能是openssl版本问题,空了再找原因更新文章。

原文地址:https://www.cnblogs.com/passedbylove/p/13415668.html