Subject: Update README.md Origin: upstream, commit 0.4.27-36-g067399b Author: Adam Hupp Date: Sun Jun 9 17:31:24 2024 -0700 --- a/README.md +++ b/README.md @@ -62,19 +62,13 @@ sudo apt-get install libmagic1 ``` -### Windows - -You'll need DLLs for libmagic. @julian-r maintains a pypi package with the DLLs, you can fetch it with: - -``` -pip install python-magic-bin -``` - ### OSX - When using Homebrew: `brew install libmagic` - When using macports: `port install file` +If python-magic fails to load the library it may be in a non-standard location, in which case you can set the environment variable `DYLD_LIBRARY_PATH` to point to it. + ### SmartOS: - Install libmagic for source https://github.com/threatstack/libmagic/ - Depending on your ./configure --prefix settings set your LD_LIBRARY_PATH to /lib