ubuntu编译libevent遇到的问题
1.首先下载libevent源码
wget https://github.com/libevent/libevent/archive/release-1.4.15-stable.tar.gz
本文下载的是libevent 1.4.15。
2.下载后解压
tar -zxvf release-1.4.15-stable.tar.gz
3.阅读README
4.运行autogen.sh
bash autogen.sh
5.运行遇到 libtoolize: 未找到命令
sudo apt install libtool
6.重新执行autogen.sh
7. 执行./configure
8.make
9.make install