Created
November 16, 2025 00:13
-
-
Save truedat101/9cb5dfdb71bd5405ef58aa06f4320792 to your computer and use it in GitHub Desktop.
A gist is a breadcrumb for a wary traveller looking for how to install magicffi (libmagic) on mac os x silicon mac
This file contains hidden or 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
| This fixes a magic.h not found ! | |
| brew reinstall libmagic pkgconf | |
| export CPPFLAGS="-I$(brew --prefix)/include $CPPFLAGS" | |
| export LDFLAGS="-L$(brew --prefix)/lib $LDFLAGS" | |
| export PKG_CONFIG_PATH="$(brew --prefix)/lib/pkgconfig:$PKG_CONFIG_PATH" | |
| then run your lisp, and install | |
| (ql:quickload :magicffi) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment