glibc

Install command:
brew install glibc

Also known as: glibc@2.35

GNU C Library

https://www.gnu.org/software/libc/

License: GPL-2.0-or-later AND LGPL-2.1-or-later

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.35

Other versions:

glibc@2.17 2.17 GNU C Library
glibc@2.13 2.13 GNU C Library

Revision: 2

Keg-only

Depends on:

linux-headers@5.15 5.15.193 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 10,225
Installs on Request (30 days)
glibc 496
Build Errors (30 days)
glibc 76
Installs (90 days)
glibc 39,738
Installs on Request (90 days)
glibc 1,216
Installs (365 days)
glibc 341,440
glibc --HEAD 1
Installs on Request (365 days)
glibc 3,760
glibc --HEAD 1