Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unable to load libbridj.so dependency on old RedHat Red Hat Enterprise Linux Server release 6.2 (Santiago)  #467

@AndreasSandberg

Description

@AndreasSandberg

Hi!

This might be an related issue to Issue #452 . When i try to load the latest BridJ snapshot in our (old) Linux machine running

Red Hat Enterprise Linux Server release 6.2 (Santiago)
(Linux 2.6.32-220.13.1.el6.x86_64 #1 SMP Thu Mar 29 11:46:40 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux)

I get the following error:

java.lang.RuntimeException: Failed to initialize BridJ (java.lang.UnsatisfiedLinkError: /tmp/BridJExtractedLibraries4334614675615168701/libbridj.so: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/BridJExtractedLibraries4334614675615168701/libbridj.so))
at org.bridj.Platform.initLibrary(Platform.java:444)
at org.bridj.Platform.(Platform.java:228)
at org.bridj.BridJ.findNativeLibraryFile(BridJ.java:885)
at org.bridj.BridJ.getNativeLibraryFile(BridJ.java:841)
at org.bridj.BridJ.getNativeLibrary(BridJ.java:1033)

In /lib/ we have a libc-2.12.so which I guess is to old. Unfortunately we cannot upgrade the Linux distribution at the moment.

Is there any way to bundle a newer libc with my app or should I recompile bridJ on my platform?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions