[Simsec] java can't find libosmosim.so

ty tyruskam at gmail.com
Wed May 13 08:28:06 CEST 2015


Morning folks

I seem to have a problem running SIMTester manually, ie via java -jar. The
exception thrown is shown below indicating that the JVM can't find the
library yet I copied it to the respective java path library. Im running on
Oracle Java 7.1 on ubuntu 12.04 LTS

tyrus at the-jedi-council:~/simtester$ java -jar SIMTester.jar -tf OsmocomBB

########################################
  SIMTester v1.5, 2014-01-03
  Lukas Kuzmiak (lukas at srlabs.de)
  Security Research Labs, Berlin, 2013
########################################

Using OsmocomBB mobile as SIM card reader
Exception in thread "main" java.lang.UnsatisfiedLinkError: no osmosim in
java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at de.srlabs.simlib.osmocardprovider.OsmoJNI.loadLib(OsmoJNI.java:7)
at
de.srlabs.simlib.osmocardprovider.OsmoCardTerminal.<clinit>(OsmoCardTerminal.java:11)
at
de.srlabs.simlib.osmocardprovider.OsmoCardTerminals.list(OsmoCardTerminals.java:25)
at javax.smartcardio.CardTerminals.list(CardTerminals.java:72)
at de.srlabs.simlib.ChannelHandler.<init>(ChannelHandler.java:60)
at de.srlabs.simlib.ChannelHandler.getInstance(ChannelHandler.java:101)
at de.srlabs.simtester.Main.handleOptions(Main.java:396)
at de.srlabs.simtester.Main.main(Main.java:98)

Graceful shutdown initiated. Trying to close all open channels. Please
wait... !

Sorry for the long error post.

Thanks

-ty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.srlabs.de/pipermail/simsec/attachments/20150513/63d9aa7d/attachment.html>


More information about the Simsec mailing list