Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
doctor: check for DYLD_FALLBACK_LIBRARY_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
adamv committed Jul 23, 2012
1 parent 726ea14 commit ecb09ba
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Library/Homebrew/cmd/doctor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

1 comment on commit ecb09ba

@samueljohn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 @adamv!

Please sign in to comment.