Skip to content

fix: catch UnsatisfiedLinkError when loading snappy native library#1753

Open
nh13 wants to merge 1 commit intomasterfrom
fix/snappy-unsatisfied-link-error
Open

fix: catch UnsatisfiedLinkError when loading snappy native library#1753
nh13 wants to merge 1 commit intomasterfrom
fix/snappy-unsatisfied-link-error

Conversation

@nh13
Copy link
Member

@nh13 nh13 commented Jan 13, 2026

Add UnsatisfiedLinkError to the catch clause in tryToLoadSnappy() to handle cases where native library loading fails.

This can occur when snappy-java 1.1.10.8+ incorrectly detects musl libc (by checking for /lib/ld-musl-x86_64.so.1) and loads the musl-compiled native library on a glibc system.

Reported in fulcrumgenomics/fgbio#1127.

Add UnsatisfiedLinkError to the catch clause in tryToLoadSnappy()
to handle cases where native library loading fails (e.g., musl/glibc
detection issues in snappy-java 1.1.10.8+).
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

Successfully merging this pull request may close these issues.

1 participant