Saturday, September 19, 2020

libevent

https://libevent.org/

https://github.com/libevent/libevent

 http://blog.gaurav.im/2014/12/15/a-gentle-intro-to-libevent/?fbclid=IwAR0-TS7VZblI959v_dnSSnoFoIFnRuPCso6s-clDJF-RI6UHAGbsZfcneGs

How to install

./configure

make

make install

 How to compile

g++ filename.cpp -levent -levent_core

 

if this error comes when running "error while loading shared libraries: libevent-2.1.so.7: cannot open "shared object file: No such file or directory

 sudo ln -s /usr/local/lib/libevent-2.1.so.7.0.1  /usr/local/lib/libevent-2.1.so.7

No comments:

Post a Comment