安装好libevent以后再在编译报错

安装好libevent以后再在编译报错 linux

File "build/bdist.linux-i686/egg/gevent/core.py", line 6, in __bootstrap__ ImportError: libevent-2.0.so.5: cannot open shared object file: No such file or directory
 

添加/usr/local/lib到LD_LIBRARY_PATH便可: bootstrap

编辑~/.bashrc,在末尾加入: bash

export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH ui

保存,从新载入:source  ~/.bashrc spa

相关文章
相关标签/搜索