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

Should MakeMaker be setting LD_RUN_PATH on MacOS? #442

Open
jkahrman opened this issue Mar 24, 2023 · 1 comment
Open

Should MakeMaker be setting LD_RUN_PATH on MacOS? #442

jkahrman opened this issue Mar 24, 2023 · 1 comment

Comments

@jkahrman
Copy link

Unless I'm mistaken, LD_RUN_PATH is only used by the GNU Linker (or maybe all ELF linkers, I'm not sure where to look for an authoritative answer). MacOS uses dyld, which I believe ignores this variable (again, I'm extrapolating based on naming conventions and the lack of internet references suggesting otherwise).

If that's the case, shouldn't MakeMaker avoid setting this variable? I realize it isn't hurting anything, but the noise is confusing when debugging.

Others have already gone in this direction:
mattn/p5-Devel-CheckLib@61c8295

@twogee
Copy link

twogee commented Jul 25, 2023

Actually, LD_RUN_PATH causes grief with homebrew on Apple silicon, where the x86(_64) version installs in /usr/local, and arm64 version installs in /opt/homebrew...

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

2 participants