You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
#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)
The text was updated successfully, but these errors were encountered: