diff options
| author | Adam Vandenberg | 2012-07-23 16:08:05 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-07-23 16:08:05 -0700 |
| commit | 5de94e48bdea7ebb7fc23089a7d01800f82d046b (patch) | |
| tree | 1257aa8de4a41637e071ec2c68ce77c2756c4501 /Library/Homebrew | |
| parent | 7a7e3b5f7c81c43dd9dcec1574ce285082ee08ce (diff) | |
| download | brew-5de94e48bdea7ebb7fc23089a7d01800f82d046b.tar.bz2 | |
doctor: check for DYLD_FALLBACK_LIBRARY_PATH
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/doctor.rb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb index e510b7e84..90795d975 100644 --- a/Library/Homebrew/cmd/doctor.rb +++ b/Library/Homebrew/cmd/doctor.rb @@ -573,7 +573,7 @@ def check_for_config_scripts end end -def check_for_dyld_vars +def check_for_DYLD_LIBRARY_PATH if ENV['DYLD_LIBRARY_PATH'] <<-EOS.undent Setting DYLD_LIBRARY_PATH can break dynamic linking. @@ -582,6 +582,15 @@ def check_for_dyld_vars end end +def check_for_DYLD_FALLBACK_LIBRARY_PATH + if ENV['DYLD_FALLBACK_LIBRARY_PATH'] + <<-EOS.undent + Setting DYLD_FALLBACK_LIBRARY_PATH can break dynamic linking. + You should probably unset it. + EOS + end +end + def check_for_DYLD_INSERT_LIBRARIES if ENV['DYLD_INSERT_LIBRARIES'] <<-EOS.undent |
