安裝好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

相關文章
相關標籤/搜索