-
Notifications
You must be signed in to change notification settings - Fork 83
Description
Hi!
We're trying to include our binaries in a single jar, however when we start up our application we're having problems with BridJ loading it's own dependencies (in this particularly case gcc_s). We have tried to include these dependencies into the "lib/sunos_x86/" directory but it seems like the extraction of these files happen to late.
Is there any way of including BridJ:s own dependencies into the jar so that they are loaded before BridJ starts up?
The error we get is:
Caused by: java.lang.UnsatisfiedLinkError: /var/tmp/BridJExtractedLibraries4468278197869084619/libbridj.so: ld.so.1: java: fatal: libgcc_s.so.1: open failed: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1699)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at org.bridj.Platform.initLibrary(Platform.java:420)
... 100 more
Resulting in a
java.lang.NoClassDefFoundError: Could not initialize class org.bridj.Platform