Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I've got a problem with my installation of wine. (OS 10.8.2, XCode 4.5.2)

With the information I found, I already fixed a few errors, but now I'm stuck on a missing component called 'zlib' and I can't install it via brew. Another error while installing wine appears while make install for libicns Anyone got an idea?

Here is my installation-output:

brew install libpng --universal
==> Downloading http://downloads.sf.net/project/libpng/libpng15/1.5.13/libpng-1.
Already downloaded: /Library/Caches/Homebrew/libpng-1.5.13.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libpng/1.5.13
checking for memset... yes
checking for pow... yes
checking for zlibVersion in -lz... no
checking for z_zlibVersion in -lz... no
configure: error: zlib not installed

or

brew install libicns
==> Downloading http://downloads.sourceforge.net/project/icns/libicns-0.8.1.tar.
Already downloaded: /Library/Caches/Homebrew/libicns-0.8.1.tar.gz
==> ./configure --prefix=/usr/local/Cellar/libicns/0.8.1
==> make install
      _WritePNGImage in icns2png.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [icns2png] Error 1
make: *** [install-recursive] Error 1
share|improve this question
    
Have you installed all previous brew receipies with --universal? –  Mark Jan 13 '13 at 23:30
    
Type brew doctor. In the end of message will be Binaries provided by keg-only formulae may override system binaries with other strange results. and list of keg-only formulaes - brew unlink all of them and zlib too. Edit: it's too old question and my comment is actual for different situation, but it could help somebody. –  mixel Nov 29 '13 at 11:57
add comment

closed as too localized by Mark, patrix May 12 '13 at 8:04

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

1 Answer

brew rm libpng  
brew install libpng --universal  
brew install wine --with-gcc
share|improve this answer
1  
Why does this solve the problem? brew install libpng -- univeral is something which already was tried. –  patrix Jan 13 '13 at 18:31
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.