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

Support Homebrew libraries on M1 Macs #93583

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

Conversation

sebikeller
Copy link

@sebikeller sebikeller commented Jun 7, 2022

Homebrew installs to /opt/homebrew/lib on M1 Macs, instead of /usr/local/lib on Intel Macs.
Without disabling SIP (to set DYLD_FALLBACK_LIBRARY_PATH in env) or manually changing the DEFAULT_LIBRARY_FALLBACK before loading any third-party libraries (as proposed here: Kozea/CairoSVG#354 (comment)), libraries installed with homebrew can not be loaded.

Homebrew installs to `/opt/homebrew/lib` on M1 Macs, instead of `/usr/local/lib` on Intel Macs.
Without disabling SIP (to set DYLD_FALLBACK_LIBRARY_PATH in env) or manually changing the `DEFAULT_LIBRARY_FALLBACK` before loading any third-party libraries (as proposed here: Kozea/CairoSVG#354 (comment)), libraries installed with homebrew can not be loaded.
@cpython-cla-bot
Copy link

@cpython-cla-bot cpython-cla-bot bot commented Jun 7, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-bot
Copy link

@bedevere-bot bedevere-bot commented Jun 7, 2022

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

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.

None yet

2 participants