← 返回首页
Use --with-dbmliborder or macOS+Homebrew on 3.10 and below by encukou · Pull Request #1433 · python/devguide · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

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

Merged
hugovk merged 1 commit into
python:mainfrom
encukou:dbmliborder
Oct 9, 2024
Merged

Use --with-dbmliborder or macOS+Homebrew on 3.10 and below#1433
hugovk merged 1 commit into
python:mainfrom
encukou:dbmliborder

Conversation

Copy link
Copy Markdown
Member

encukou commented Oct 9, 2024
edited by github-actions Bot
Loading

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 merged commit 9fb3c00 into python:main Oct 9, 2024
encukou deleted the dbmliborder branch October 9, 2024 16:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.