1. 程式人生 > >libevent學習筆記 一、基礎知識

libevent學習筆記 一、基礎知識

注:./configure --prefix=/home/mjf/lib 因為如果我不加prefix,後面執行示例程式的時候會如下錯誤:error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory, 所以我自己定製了路徑,就沒問題了,當然你的可能沒問題,那就不用加,install之後直接在/usr/lib或者/usr/local/lib裡面就能看到了libevent*.so了。