Skip to content
New issue

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

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

Already on GitHub? # to your account

linux 64位下加载so文件失败 #28

Open
chenyh2017 opened this issue May 9, 2017 · 0 comments
Open

linux 64位下加载so文件失败 #28

chenyh2017 opened this issue May 9, 2017 · 0 comments

Comments

@chenyh2017
Copy link

#linux是64位的,libsegmentor_jni.so文件已经复制到/usr/lib下去了。

Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/libsegmentor_jni.so: libsegmentor.so.0.1.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at edu.hit.ir.ltp4j.Segmentor.(Unknown Source)
at sentiment.edu.hit.scir.ltp.IRLTP.(IRLTP.java:19)
at sentiment.edu.hit.scir.ltp.LinuxWordSeg.(LinuxWordSeg.java:11)
at sentiment.edu.hit.scir.ltp.LTP_CutWords_File.cutwords_file_weibo(LTP_CutWords_File.java:52)
at cn.edu.hit.ir.EmotionClassification.classifiy(EmotionClassification.java:48)

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

No branches or pull requests

1 participant