A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/nativelibs4java/nativelibs4java/issues/452 below:

Unable to load libbridj.so dependency on SunOs · Issue #452 · nativelibs4java/nativelibs4java · GitHub

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4