Skip to content

Give _tkinter $ORIGIN-relative dependencies on glibc and an rpath on musl #745

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

geofft
Copy link
Collaborator

@geofft geofft commented Aug 11, 2025

Partially addresses #742 and makes it consistent with what we're doing on macOS.

There's an argument in the comments above that we should not set an rpath on libpython (except on musl where it's needed), and I need to see if I still believe that. In the meantime I'm following that pattern and setting $ORIGIN-relative NEEDED on glibc and rpath on musl only.

This also adds a specific ldd regression test but not the additional tests listed in #742.

@geofft
Copy link
Collaborator Author

geofft commented Aug 11, 2025

Giving up on testing this on musl for reasons noted in the comment, but the code to handle musl is there....

…musl

Partially addresses astral-sh#742 and makes it consistent with what we're doing
on macOS.

There's an argument in the comments above that we should not set an
rpath on libpython (except on musl where it's needed), and I need to see
if I still believe that. In the meantime I'm following that pattern and
setting $ORIGIN-relative NEEDED on glibc and rpath on musl only.

This also adds a specific ldd regression test but not the additional
tests listed in astral-sh#742.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant