1、查找文件放在哪里

sudo find / -name libevent-2.1.so.6

发现放在/usr/local/lib/libevent-2.1.so.6下。

2、创建软链接

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

参考:

https://my.oschina.net/itblog/blog/633074

https://www.cnblogs.com/EasonJim/p/7580220.html