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

macholib.dyld framework search seems dodgy #3

Open
ronaldoussoren opened this issue Mar 13, 2011 · 0 comments
Open

macholib.dyld framework search seems dodgy #3

ronaldoussoren opened this issue Mar 13, 2011 · 0 comments
Labels
bug Something isn't working major

Comments

@ronaldoussoren
Copy link
Owner

Original report by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


When looking for a framework (e.g. Python.framework/Versions/Current/Python) the seerach functions in machlib.dyld not only look in the framework locations (as expected), but also along the library search path using the basename of the library in the framework.

That is, the search for Python.framework will also check /usr/local/lib/Python.

This seems dodgy and needs to be verified using the real linker (and ripped out if the behaviour is different than that linker).

BTW. I'm testing for the current behaviour in the unittests I'm currently writing, that doesn't mean the current behaviour is correct. Writing tests for existing code is so much fun...

@ronaldoussoren ronaldoussoren added major bug Something isn't working labels Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

1 participant