Last active
September 9, 2024 02:24
-
-
Save jeremedia/46a60938025500e054b78ab9da83f45c to your computer and use it in GitHub Desktop.
How to get rmagick to install when it won't due to ' .pc doesn't exist'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Error when gem install rmagick: | |
/Users/jeremy/.rvm/gems/ruby-3.2.1/gems/pkg-config-1.5.5/lib/pkg-config.rb:504:in `parse_pc': .pc doesn't exist: <MagickCore> | |
(PackageConfig::NotFoundError) | |
Needs path to pkgconfig. Get it with: | |
brew info imagemagick | |
... | |
/opt/homebrew/Cellar/imagemagick/7.1.1-19 (809 files, 31.0MB) * | |
... | |
PKG_CONFIG_PATH=/opt/homebrew/Cellar/imagemagick/7.1.1-19/lib/pkgconfig gem install rmagick | |
Building native extensions. This could take a while... | |
Successfully installed rmagick-5.3.0 | |
yay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment