Can not find spcomlnxarmv7hf.so in raspberry pi 3

3 views
Skip to first unread message

jianl...@gmail.com

unread,
Jun 27, 2016, 9:28:43 PM6/27/16
to SerialPundit
Hi Rishi,

Thanks for your scm library, when I use it on raspberry Pi 3 for a serial port communication java application(use /dev/ttyAMA0) , it seems can find spcomlnxarmv7hf.so and show errors below (I add both sp-core.jar and sp-tty.jar in my jar file ).
I unzip sp-tty.jar and find there is a .so file in it, so I was hoping if you can tell me how to compile spcomlnxarmv7hf.so and and it into sp-tty.jar, thanks.

Exception in thread "main" com.serialpundit.core.SerialComException: /tmp/sp_tuartx1/spcomlnxarmv7hf.so
        at com.serialpundit.serial.internal.SerialComPortJNIBridge.loadNativeLibrary(SerialComPortJNIBridge.java:322)
        at com.serialpundit.serial.SerialComManager.<init>(SerialComManager.java:367)
       ...................
Caused by: com.serialpundit.core.SerialComException: Can not get shared library spcomlnxarmv7hf.so resource as stream from sp-tty.jar file !
        at com.serialpundit.serial.internal.SerialComPortJNIBridge.loadNativeLibrary(SerialComPortJNIBridge.java:319)
        ... 3 more

Kind Regards,

Jack

Rishi Gupta

unread,
Jul 8, 2016, 5:40:04 AM7/8/16
to SerialPundit
Hi Jack, Thanks for using the library.

Please use latest sp-core.jar and sp-tty.jar from https://github.com/RishiGupta12/SerialPundit/tree/master/prebuilt-release

I have updated them just now.
Reply all
Reply to author
Forward
0 new messages