安装LibEvent
2025年6月26日小于 1 分钟
安装LibEvent
vent 是php ,libevent是Linux内核 首先需要安装libevent
tar -zxvf libevent-2.1.12-stable.tar.gz && cd libevent-2.1.12-stable

./configure --prefix=/usr/local/libevent
make && make install

为了防止运行时动态库链接问题
在/etc/ld.so.conf 最后面加上 /usr/local/libevent/lib
vim /etc/ld.so.conf
立即生效
/sbin/ldconfig