Formula

glibc

2.39

GNU C Library

Install

brew install glibc

Details

Sources

Supported platforms

ArchitecturePlatformsVersionDownload
ARM64Linux2.39File
SHA-25601a46dbd217ab6379da50f9285da81ebaf0928c3457fbb04542b745bc80cb27f
x86_64Linux2.39File
SHA-2562fe24afa0fd4034a66340b61fbe952ec7628d5eb30358191730c9ba2b6a1d421

Dependencies

  • linux-headers@6.8

Package data

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.