1.在http://libevent.org/下载libevent-2.1.8-stable.tar.gz

2.解压缩 tar -zxvf libevent-2.1.8-stable.tar.gz

    cd libevent-2.1.8-stable

3.  ./configure –-prefix=/home/dj/lib/libevent

     make

     make install


4.为了防止运行时动态库链接问题

  在/etc/ld.so.conf 最后面加上 /home/dj/lib/libevent/lib

  /sbin/ldconfig立即生效

  

相关文章:

  • 2022-01-12
  • 2021-06-05
  • 2021-11-21
  • 2021-04-22
  • 2021-08-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-09-02
  • 2022-12-23
  • 2021-05-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-07
  • 2022-02-22
相关资源
相似解决方案