Skip to content

Instantly share code, notes, and snippets.

View carlesloriente's full-sized avatar
🎾
Eagle eye mode

Carles Loriente carlesloriente

🎾
Eagle eye mode
View GitHub Profile
@carlesloriente
carlesloriente / compile-and-install-glibc_2.18-centos-7.sh
Last active April 22, 2024 03:17
Compile and install GLIBC 2.18 in CentOS 7
# Check gist comments to verify system PATH and or adapt it.
wget https://ftp.gnu.org/gnu/glibc/glibc-2.18.tar.gz
tar zxvf glibc-2.18.tar.gz
cd glibc-2.18
mkdir build
cd build
../configure --prefix=/opt/glibc-2.18
make -j4
sudo make install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/glibc-2.18/lib
#!/bin/bash
# Full script for fixing homebrew update error
# Reset
sudo rm -rf /Library/Developer/CommandLineTools
xcode-select --install
# Reset homebrew-cask
brew untap homebrew/homebrew-cask - -force
brew reinstall cask