Skip to content

Commit

Permalink
Merge pull request #216 from PeterCardenas/add-note-for-macos
Browse files Browse the repository at this point in the history
docs: add installation instructions for MacPorts
  • Loading branch information
3rd authored Sep 24, 2024
2 parents f95cb9c + b87a0e5 commit c4e8260
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,14 @@ The `magick` luarock provides bindings to ImageMagick's MagickWand, so we need t
package as well.

- Ubuntu: `sudo apt install libmagickwand-dev`
- MacOS: `brew install imagemagick`
- By default, brew installs into a weird location, so you have to add `$(brew --prefix)/lib` to
- MacOS:
- Homebrew: `brew install imagemagick`
- By default, homebrew installs into a weird location, so you have to add `$(brew --prefix)/lib` to
`DYLD_LIBRARY_PATH` by adding something like
`export DYLD_LIBRARY_PATH="$(brew --prefix)/lib:$DYLD_LIBRARY_PATH"`
to your shell profile (probably `.zshrc` or `.bashrc`)
- MacPorts: `sudo port install imagemagick`
- You must add `/opt/local/lib` to `DYLD_LIBRARY_PATH`, similar to homebrew.
- Fedora: `sudo dnf install ImageMagick-devel`
- Arch: `sudo pacman -Syu imagemagick`

Expand Down

0 comments on commit c4e8260

Please sign in to comment.