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

Use --with-dbmliborder or macOS+Homebrew on 3.10 and below #1433

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

encukou
Copy link
Member

@encukou encukou commented Oct 9, 2024

As detailed in python/cpython#89452 (comment), Homebrew makes a specific change to gdbm that confuses the build of 3.10 and below into picking incompatible headers/libs, so dbm segfaults at runtime.

It's fixed in 3.11; older source-only releases only get a workaround: pass --with-dbmliborder=gdbm:ndbm to configure.


(3.8 is now EOL, but I don't want to remove mentions of it in this PR, even if it's textually nearby.)


📚 Documentation preview 📚: https://cpython-devguide--1433.org.readthedocs.build/

@hugovk hugovk merged commit 9fb3c00 into python:main Oct 9, 2024
5 checks passed
@encukou encukou deleted the dbmliborder branch October 9, 2024 16:12
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

Successfully merging this pull request may close these issues.

3 participants