Skip to content

Instantly share code, notes, and snippets.

@pzgz
Created June 11, 2014 06:01
Show Gist options
  • Save pzgz/072462929d780a4718a5 to your computer and use it in GitHub Desktop.
Save pzgz/072462929d780a4718a5 to your computer and use it in GitHub Desktop.
Brew Doctor Error about zLib Import
~  brew --config
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/Homebrew/homebrew.git
HEAD: 25cffcf1e4fa8b2bc8f989d33d8946978a2da9d4
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.9.4-x86_64
Xcode: 5.1.1
CLT: 5.1.0.0.1.1396320587
GCC-4.2: build 5666
Clang: 5.1 build 503
X11: 2.7.6 => /opt/X11
System Ruby: 2.0.0-451
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.7_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby
brew doctor
Warning: Your file-system on [["/"]] appears to be CaSe SeNsItIvE.
Homebrew is less tested with that - don't worry but please report issues.
Error: Failed to import: zlib
undefined method `new' for Zlib:Module
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libilbc.0.dylib
/usr/local/lib/libmacfuse_i32.2.dylib
/usr/local/lib/libmacfuse_i64.2.dylib
/usr/local/lib/libosxfuse_i32.2.dylib
/usr/local/lib/libosxfuse_i64.2.dylib
Warning: Unbrewed .la files were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .la files:
/usr/local/lib/libilbc.la
/usr/local/lib/libosxfuse_i32.la
/usr/local/lib/libosxfuse_i64.la
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/fuse-ext2.pc
/usr/local/lib/pkgconfig/libavcodec.pc
/usr/local/lib/pkgconfig/libavdevice.pc
/usr/local/lib/pkgconfig/libavfilter.pc
/usr/local/lib/pkgconfig/libavformat.pc
/usr/local/lib/pkgconfig/libavutil.pc
/usr/local/lib/pkgconfig/libilbc.pc
/usr/local/lib/pkgconfig/libswresample.pc
/usr/local/lib/pkgconfig/libswscale.pc
/usr/local/lib/pkgconfig/osxfuse.pc
Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libavcodec.a
/usr/local/lib/libavdevice.a
/usr/local/lib/libavfilter.a
/usr/local/lib/libavformat.a
/usr/local/lib/libavutil.a
/usr/local/lib/libilbc.a
/usr/local/lib/libswresample.a
/usr/local/lib/libswscale.a
Error: undefined method `new' for Zlib:Module
Please report this bug:
https://github.com/Homebrew/homebrew/wiki/troubleshooting
/usr/local/Library/Homebrew/formulary.rb:50:in `get_formula'
/usr/local/Library/Homebrew/formulary.rb:194:in `factory'
/usr/local/Library/Homebrew/formula.rb:397:in `factory'
/usr/local/Library/Homebrew/cmd/doctor.rb:1068:in `block in check_for_unlinked_but_not_keg_only'
/usr/local/Library/Homebrew/cmd/doctor.rb:1063:in `reject'
/usr/local/Library/Homebrew/cmd/doctor.rb:1063:in `check_for_unlinked_but_not_keg_only'
/usr/local/Library/Homebrew/cmd/doctor.rb:1145:in `block in doctor'
/usr/local/Library/Homebrew/cmd/doctor.rb:1144:in `each'
/usr/local/Library/Homebrew/cmd/doctor.rb:1144:in `doctor'
/usr/local/Library/brew.rb:106:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment