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

Support alpine 3.19 and up #234

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Support alpine 3.19 and up #234

merged 1 commit into from
Jun 11, 2024

Conversation

hieuk09
Copy link
Contributor

@hieuk09 hieuk09 commented Jun 11, 2024

Context

We use RbNaCl with Alpine 3.19 and we see the below errors

#40 7.090 Could not open library 'libsodium.so': Error loading shared library libsodium.so: No such file or directory.

#40 7.090 Could not open library 'libsodium.so.18': Error loading shared library libsodium.so.18: No such file or directory.

#40 7.090 Could not open library 'libsodium.so.23': Error loading shared library libsodium.so.23: No such file or directory.

After looking into the content of Alpine, it looks like the file is now libsodium.so.26.

@tarcieri tarcieri merged commit c246588 into RubyCrypto:main Jun 11, 2024
7 checks passed
@joemiller
Copy link

Just came here to note that folks using Wolfi-OS / Chainguard based images might also run into this since they also upgraded to libsodium-1.0.20 which ships libsodium.so.26. A quick fix in that case is to install libsodium-dev which creates a symlink for libsodium.so to the .so.26 file.

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.

3 participants