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

Add liblmdb.so and liblmdb.so.0 symlinks #39912

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

murraybd
Copy link
Member

This is part of resolving https://github.com/chainguard-dev/customer-issues/issues/1975 where installing samba-client complains that liblmdb.so.0 is not a symlink:

# apk -q update && apk add -q samba-client
/sbin/ldconfig: /usr/lib/liblmdb.so.0 is not a symbolic link

@octo-sts octo-sts bot added the bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages. label Jan 18, 2025
Copy link
Member

@sil2100 sil2100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Brian! So I think the proper fix for this would be to either modify the 0001-Debian-quirks-to-make-shared-library-versioned.patch patch or add another one next to it - because the patch is IMO incomplete. This patch adds the multi-versioned-so bits, but forgets to touch the make install target to not follow symlinks, resulting in this issue.

However, since it's part of an escalation and basically adding a new patch is as invasive as just doing it via melange - let me merge this.

@sil2100 sil2100 merged commit 8dc7ad7 into wolfi-dev:main Jan 20, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bincapz/pass bincapz/pass Bincapz (aka. malcontent) scan didn't detect any CRITICALs on the scanned packages.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants