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

Derive default search locations from PT_INTERP #61

Open
haampie opened this issue Dec 14, 2021 · 0 comments
Open

Derive default search locations from PT_INTERP #61

haampie opened this issue Dec 14, 2021 · 0 comments

Comments

@haampie
Copy link
Owner

haampie commented Dec 14, 2021

On Gentoo Prefix and Nix glibc lives in some prefix directory dir, and all elf files store the path to the corresponding ld.so in PT_INTERP.

It seems like a good plan to derive the standard search paths and config files from the ld.so location (<dirname ld.so> as a default library search path and <dirname ld.so>/../etc/ld.so.conf as a default config path).

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

No branches or pull requests

1 participant