From 067399b1ae104975fe83b5162dd3b83788cdfdd0 Mon Sep 17 00:00:00 2001 From: Adam Hupp Date: Sun, 9 Jun 2024 17:31:24 -0700 Subject: [PATCH] Update README.md --- README.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5fce8c1..010cc8f 100644 --- a/README.md +++ b/README.md @@ -62,19 +62,13 @@ that must be installed as well: 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