Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build with python error #32

Open
cdj0311 opened this issue Jul 3, 2016 · 3 comments
Open

build with python error #32

cdj0311 opened this issue Jul 3, 2016 · 3 comments

Comments

@cdj0311
Copy link

cdj0311 commented Jul 3, 2016

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

@jinluyang
Copy link

I got the same error on centos6.5 python2.7

@melgor
Copy link

melgor commented Jan 16, 2017

sudo ldconfig should resolve this problem. It just update links to library.

@zhugw
Copy link

zhugw commented Aug 18, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants