Skip to content

imagemagick-ruby186 doesn't compile; library not found for -lXext #63

thehappycoder opened this Issue Dec 12, 2012 · 2 comments

3 participants


$ brew install imagemagick-ruby186
==> Downloading
Already downloaded: /Library/Caches/Homebrew/imagemagick-ruby186-6.5.9-8.tar.bz2
==> ./configure --without-maximum-compile-warnings --disable-osx-universal-binary --without-perl --pre
==> make install
brew: superenv removed: -L/opt/local/lib -L/usr/X11/lib
ld: library not found for -lXext
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [magick/] Error 1
make: *** [install] Error 2

I have XQuartz-2.7.4 installed to /opt/X11 which is linked by /usr/X11
Xcode 4.5.2
i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1

Is there anything I am missing?

adamv commented Feb 10, 2013

@mikemcquaid isn't there a newer RMagick?

Homebrew member


@samueljohn samueljohn added a commit that closed this issue Mar 19, 2013
@samueljohn samueljohn imagemagick-ruby186: Need old libpng. X11 optional
Simplify formula by removing now unused support methods.
Using `build.with?`.

Fixes #63 by adding optional `depends_on :x11`.
Fixes #10 by depending on old libpng12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.