← all formulas
glibc
GNU C Library
- Version
- v2.39
- License
- GPL-2.0-or-later AND LGPL-2.1-or-later
- Tap
- homebrew/core
- Bottle
- available
- Revision
- —
bottledlicense declaredhomepageactivekeg-linked
Install
shell
$ brew install glibcCaveats
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.
Aliases
glibc@2.39