diff --git a/Library/Homebrew/extend/os/linux/keg_relocate.rb b/Library/Homebrew/extend/os/linux/keg_relocate.rb index 1a4fa8845b..633b998330 100644 --- a/Library/Homebrew/extend/os/linux/keg_relocate.rb +++ b/Library/Homebrew/extend/os/linux/keg_relocate.rb @@ -6,7 +6,7 @@ require "compilers" class Keg def relocate_dynamic_linkage(relocation) # Patching the dynamic linker of glibc breaks it. - return if name == "glibc" + return if name == "glibc" || name.start_with?("glibc@") # Patching patchelf fails with "Text file busy" or SIGBUS. return if name == "patchelf"