I have made a little non-ui app it uses jSerial library. On windows is working ok but on a raspberrypi 3 (with minibian image) I get the following error:
If I do:
What can I do? Thanks
B4X:
main._appstart (java line: 66)
java.lang.UnsatisfiedLinkError: /root/.jssc/linux/libjSSC-2.8_armsf.so: /root/.jssc/linux/libjSSC-2.8_armsf.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at jssc.SerialNativeInterface.<clinit>(SerialNativeInterface.java:172)
at jssc.SerialPortList.<clinit>(SerialPortList.java:43)
at anywheresoftware.b4j.serial.Serial.ListPorts(Serial.java:47)
at b4j.example.main._appstart(main.java:66)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:77)
at b4j.example.main.main(main.java:29)
If I do:
B4X:
root@minibian:/# ls /root/.jssc/linux/
libjSSC-2.8_armhf.so libjSSC-2.8_x86_64.so
libjSSC-2.8_armsf.so libjSSC-2.8_x86.so
What can I do? Thanks