Skip to content

fix: catch UnsatisfiedLinkError when loading snappy native library#1753

Merged
tfenne merged 1 commit intodevfrom
fix/snappy-unsatisfied-link-error
Apr 11, 2026
Merged

fix: catch UnsatisfiedLinkError when loading snappy native library#1753
tfenne merged 1 commit intodevfrom
fix/snappy-unsatisfied-link-error

Conversation

@nh13
Copy link
Copy Markdown
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+).
@tfenne tfenne force-pushed the fix/snappy-unsatisfied-link-error branch from ebf4700 to 543dba3 Compare April 11, 2026 15:09
@tfenne tfenne changed the base branch from master to dev April 11, 2026 15:09
@tfenne tfenne self-requested a review April 11, 2026 15:09
@tfenne tfenne merged commit 44ed5f7 into dev Apr 11, 2026
3 checks passed
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.

2 participants