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

Fix icecc-create-env in OpenSUSE Tumbleweed #627

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jimis
Copy link

@jimis jimis commented Dec 6, 2023

There the binaries depend on libraries of different minor version than the installed library, which is found at runtime via symlinks.

For example, ldd /usr/bin/clang-17 reports among other lines:

libz.so.1 => /lib64/glibc-hwcaps/x86-64-v3/libz.so.1.3 (0x00007f3fdc8ff000)

Before the patch, icecc-create-env /usr/bin/clang-17 would report:

adding file /lib64/libz.so.1.3=/usr/lib64/libz.so.1.3

The executable wouldn't run because it can't find libz.so.1. After the patch:

adding file /lib64/libz.so.1=/usr/lib64/libz.so.1.3

And the executable runs fine.

There the binaries depend on libraries of different minor version than
the installed library, which is found at runtime via symlinks.

For example, ldd /usr/bin/clang-17 reports among other lines:

  libz.so.1 => /lib64/glibc-hwcaps/x86-64-v3/libz.so.1.3 (0x00007f3fdc8ff000)

Before the patch, icecc-create-env /usr/bin/clang-17 would report:

  adding file /lib64/libz.so.1.3=/usr/lib64/libz.so.1.3

The executable wouldn't run because it can't find libz.so.1.
After the patch:

  adding file /lib64/libz.so.1=/usr/lib64/libz.so.1.3

And the executable runs fine.
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