glibc

Install command:
brew install glibc

Also 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

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.

Analytics:

Installs (30 days)
glibc 11,169
Installs on Request (30 days)
glibc 408
Build Errors (30 days)
glibc 48
Installs (90 days)
glibc 33,697
Installs on Request (90 days)
glibc 941
Installs (365 days)
glibc 172,802
Installs on Request (365 days)
glibc 4,183