FORMULAv2.39
glibc for macOS
GNU C Library
Installation on macOS (Apple Silicon & Intel)
brew install glibc
Package Metadata
| Identifier | glibc |
|---|---|
| Current Version | 2.39 |
| Tap Repository | homebrew/core |
| License | GPL-2.0-or-later AND LGPL-2.1-or-later |
| Upstream Homepage | https://www.gnu.org/software/libc/ |
| Last Verified | 2026-11-26T14:43:31Z |
Runtime Dependencies (1)
Engineering Caveats
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.