homebrew-imagemagick-x11 icon indicating copy to clipboard operation
homebrew-imagemagick-x11 copied to clipboard

Can't install vips (libvips) if tlk/imagemagick is installed

Open gasparschott opened this issue 2 years ago • 2 comments

==> Installing dependencies for vips: imagemagick Error: imagemagick is already installed from tlk/imagemagick-x11! Please brew uninstall imagemagick first."

Vips wants to install the default version of imagemagick, and if I uninstall your version, install default IM and vips, and then uninstall IM and reinstall yours again, vips throws the same or similar error about not finding imagemagick. Any way to fix this?

gasparschott avatar Jan 27 '23 02:01 gasparschott

Sorry to hear that the formula no longer works as a drop-in replacement.

Please consider asking the Homebrew maintainers for advice over at https://github.com/orgs/Homebrew/discussions

tlk avatar Apr 30 '23 20:04 tlk

HB maintainers don't give a crap

solution 1: use both

  • make a custom IM brew formula with a different name so it doesn't conflict (eg imagemagick-x11)
  • (optional) install default IM as keg-only (leave it unlinked) for compatibility
  • install vips with default IM as normal or
  • to install vips with im-x11, you will have to make a custom vips formula to use the custom IM

solution 2: don't use HB at all. Compile yourself.

exekutive avatar Mar 26 '24 00:03 exekutive