Skip to content

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