Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snappy-java-1.1.10.1.jar library (libsnappyjava.so) fails on IBM PowerPC RedHat 8 OS with the error GLIBC_2.32 not found (required by /libsnappyjava.so) #512

Closed
vineshcpaul opened this issue Sep 25, 2023 · 3 comments

Comments

@vineshcpaul
Copy link
Contributor

vineshcpaul commented Sep 25, 2023

We use snappy-java-1.1.10.1.jar in one of our application that runs on IBM PowerPC architecture ( RedHat 8.6 OS) and very recently the application started failing with the following error

/lib64/libc.so.6: version GLIBC_2.32 not found (required by /libsnappyjava.so)

Is it because the PPC64LE version of the shared object is compiled on a machine that has an higher version of GLIBC ( Probably RedHat 9 ) when compared to the same library on x86?

[jenkins@redhat8-builds ppc64le]$ strings org/xerial/snappy/native/Linux/ppc64le/libsnappyjava.so | grep -i glibc
GLIBC_2.17
GLIBC_2.32
GLIBC_2.34
[jenkins@redhat8-builds ppc64le]$ cd ../x86_64/

[jenkins@redhat8-builds- x86_64]$ strings org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so | grep -i glibc
GLIBC_2.3
GLIBC_2.2.5
GLIBC_2.3.2
[jenkins@redhat8-builds- x86_64]$ 
@xerial
Copy link
Owner

xerial commented Sep 26, 2023

I suggest you can make a similar fix as in #481.

Supporting old versions of Linux is too demanding for voluntary open-source work. I hope you can submit a pull request to address this issue.

@vineshcpaul
Copy link
Contributor Author

Hi @xerial ,

Thanks for the response and suggestion. Submitted a fix similar to issue #481.
Could you please review the PR when you get some time ?

xerial pushed a commit that referenced this issue Sep 26, 2023
…red by /libsnappyjava.so) #512 (#515)

Co-authored-by: Vinesh Chemmala Paul <vpaul@cloudera.com>
@xerial
Copy link
Owner

xerial commented Sep 27, 2023

dockcross now provides a LTS version of cross-compiler, which works for GLIBC 2.28, so this problem will be fixed in the next release #516

@xerial xerial closed this as completed Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants