linux安装 Libevent安装和使用

参考文档

https://aceld.gitbooks.io/libevent/content/chapter1.html

验证是否已经安装

[weblogic@localhost opt]$ ls -al /usr/lib | grep libevent

安装

1.下载

下载地址:
http://libevent.org/

2.解压文件

[root@localhost opt]# tar -zxvf libevent-2.1.8-stable.tar.gz 

3.创建lib文件夹

/usr/lib/libevent

3.配置

[root@localhost libevent-2.1.8-stable]# ./configure -prefix=/usr/lib/libevent

4.编译

[root@localhost libevent-2.1.8-stable]# make

5.安装

[root@localhost libevent-2.1.8-stable]# make install

猜你喜欢

转载自blog.csdn.net/u014636209/article/details/82141729