我无法安装imagemagick&实:graphicsmagick。错误:无法下载资源“libpng”。
tranduchieu:~ $ brew install graphicsmagick
==> Installing dependencies for graphicsmagick: libpng, freetype
==> Installing graphicsmagick dependency: libpng
==> Downloading ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng16/libpng-1.6.18.tar.xz
curl: (78) RETR response: 550
Trying a mirror...
==> Downloading https://dl.bintray.com/homebrew/mirror/libpng-1.6.18.tar.xz
curl: (22) The requested URL returned error: 404 Not Found
Error: Failed to download resource "libpng"
Download failed: https://dl.bintray.com/homebrew/mirror/libpng-1.6.18.tar.xz
答案 0 :(得分:0)
试试吧:
$ brew update
之后
$ brew install graphicsmagick
它解决了我的问题。