Open cdj0311 opened 8 years ago
I got the same error on centos6.5 python2.7
sudo ldconfig
should resolve this problem. It just update links to library.
sudo vim /etc/ld.so.conf
# add this line
include /usr/local/lib
# then execute below command
sudo /sbin/ldconfig -v
If still has the problem , execute below command
ln -s /usr/local/lib/libcrfpp.so.* /usr/lib64/
The resolve method is from http://blog.csdn.net/u013378306/article/details/54604056
In python, I run python test.py, but there has an error: import _CRFPP ImportError: libcrfpp.so.0: cannot open shared object file: No such file or directory