glibc
brew install glibcAlso known as: glibc@2.39
GNU C Library
https://www.gnu.org/software/libc/
License: GPL-2.0-or-later AND LGPL-2.1-or-later
Development: Pull requests
Formula JSON API: /api/formula/glibc.json
Formula code: glibc.rb on GitHub
Bottle (binary package) installation support provided for:
| Linux | ARM64 | ✅ |
|---|---|---|
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.39 |
Other versions:
| glibc@2.17 | 2.17 | GNU C Library |
| glibc@2.13 | 2.13 | GNU C Library |
Revision: 1
Keg-only
Depends on:
| linux-headers@6.8 | 6.8.12 | Header files of the Linux kernel |
Requires: Brewedglibcnotolder, Linux, Linuxkernel
| The Homebrew's Glibc has been installed with the following executables: $HOMEBREW_PREFIX/opt/glibc/bin/ldd $HOMEBREW_PREFIX/opt/glibc/bin/ld.so $HOMEBREW_PREFIX/opt/glibc/sbin/ldconfig By default, Homebrew's linker will not search for the system's libraries. If you want Homebrew to do so, run: cp "$HOMEBREW_PREFIX/etc/ld.so.conf.d/99-system-ld.so.conf.example" "$HOMEBREW_PREFIX/etc/ld.so.conf.d/99-system-ld.so.conf" brew postinstall glibc to append the system libraries to Homebrew's ld search paths. This is risky and **highly not recommended**, because it may cause linkage to Homebrew libraries mixed with system libraries. |
Homebrew ships patches for: CVE-2024-2961, CVE-2024-33599, CVE-2024-33600, CVE-2024-33601, CVE-2024-33602, CVE-2025-0395, CVE-2025-15281, CVE-2025-5702, CVE-2025-8058, CVE-2026-0861, CVE-2026-0915, CVE-2026-4046, CVE-2026-4437, CVE-2026-4438, CVE-2026-5435, CVE-2026-5450, CVE-2026-5928, CVE-2026-6238.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 36,700 | 85,480 | 179,018 |
| Installs on Request | 716 | 1,534 | 4,466 |
| Build Errors | 62 |