Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 3rd, 2012  |  syntax: None  |  size: 0.50 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Fixing Lion libpng issues
  2.  
  3. # Until this issue https://github.com/mxcl/homebrew/issues/4468 is resolved
  4. # installing Lion screws up ImageMagick's png support.  # The following steps
  5. # are a hacky work around to get things going again. `identify: memory
  6. # allocation failed` is the error # message you'll receive before applying the
  7. # fix.
  8.  
  9. brew uninstall imagemagick
  10. cd /usr/X11R6/lib
  11. sudo mv libpng.dylib libpng.old.dylib
  12. sudo ln -s libpng12.0.dylib libpng.dylib
  13. brew install -f imagemagick --disable-openmp