Linux系统centos6.7上安装libevent

Linux系统centos6.7上安装libevent,第1张

概述1 下载地址:http://libevent.org/ 2、解压  tar zxvf libevent-2.0.21-stable.tar.gz 安装前请先安装 gcc  yum install gcc 3、配置安装路径  cd libevent-2.0.21-stable  ./configure -prefix=/usr 4、编译并安装  make  make install 5、测试libe

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

2、解压 
tar zxvf libevent-2.0.21-stable.tar.gz

安装前请先安装 gcc 

yum install gcc


3、配置安装路径 
cd libevent-2.0.21-stable 
./configure -prefix=/usr
4、编译并安装 
make 
make install
5、测试libevent是否安装成功: 
# ls -al /usr/lib | grep libevent

 

 

===============

[[email protected] libevent]# ls -al /usr/lib | grep libeventlrwxrwxrwx. 1 root root 21 Mar 12 11:37 libevent-2.1.so.6 -> libevent-2.1.so.6.0.2-rwxr-xr-x. 1 root root 1128428 Mar 12 11:37 libevent-2.1.so.6.0.2-rw-r--r--. 1 root root 1817376 Mar 12 11:37 libevent.alrwxrwxrwx. 1 root root 26 Mar 12 11:37 libevent_core-2.1.so.6 -> libevent_core-2.1.so.6.0.2-rwxr-xr-x. 1 root root 722364 Mar 12 11:37 libevent_core-2.1.so.6.0.2-rw-r--r--. 1 root root 1194526 Mar 12 11:37 libevent_core.a-rwxr-xr-x. 1 root root 978 Mar 12 11:37 libevent_core.lalrwxrwxrwx. 1 root root 26 Mar 12 11:37 libevent_core.so -> libevent_core-2.1.so.6.0.2lrwxrwxrwx. 1 root root 27 Mar 12 11:37 libevent_extra-2.1.so.6 -> libevent_extra-2.1.so.6.0.2-rwxr-xr-x. 1 root root 426282 Mar 12 11:37 libevent_extra-2.1.so.6.0.2-rw-r--r--. 1 root root 622922 Mar 12 11:37 libevent_extra.a-rwxr-xr-x. 1 root root 985 Mar 12 11:37 libevent_extra.lalrwxrwxrwx. 1 root root 27 Mar 12 11:37 libevent_extra.so -> libevent_extra-2.1.so.6.0.2-rwxr-xr-x. 1 root root 943 Mar 12 11:37 libevent.lalrwxrwxrwx. 1 root root 29 Mar 12 11:37 libevent_openssl-2.1.so.6 -> libevent_openssl-2.1.so.6.0.2-rwxr-xr-x. 1 root root 100243 Mar 12 11:37 libevent_openssl-2.1.so.6.0.2-rw-r--r--. 1 root root 139610 Mar 12 11:37 libevent_openssl.a-rwxr-xr-x. 1 root root 1005 Mar 12 11:37 libevent_openssl.lalrwxrwxrwx. 1 root root 29 Mar 12 11:37 libevent_openssl.so -> libevent_openssl-2.1.so.6.0.2lrwxrwxrwx. 1 root root 30 Mar 12 11:37 libevent_pthreads-2.1.so.6 -> libevent_pthreads-2.1.so.6.0.2-rwxr-xr-x. 1 root root 18478 Mar 12 11:37 libevent_pthreads-2.1.so.6.0.2-rw-r--r--. 1 root root 18686 Mar 12 11:37 libevent_pthreads.a-rwxr-xr-x. 1 root root 1006 Mar 12 11:37 libevent_pthreads.lalrwxrwxrwx. 1 root root 30 Mar 12 11:37 libevent_pthreads.so -> libevent_pthreads-2.1.so.6.0.2lrwxrwxrwx. 1 root root 21 Mar 12 11:37 libevent.so -> libevent-2.1.so.6.0.2

总结

以上是内存溢出为你收集整理的Linux系统centos6.7上安装libevent全部内容,希望文章能够帮你解决Linux系统centos6.7上安装libevent所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/yw/1031520.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-23
下一篇 2022-05-23

发表评论

登录后才能评论

评论列表(0条)

保存