cling icon indicating copy to clipboard operation
cling copied to clipboard

[cpt.py] --check-requirements doesn't detect Homebrew as a package manager and misdetect libz (zlib) dependecy

Open oshadura opened this issue 4 years ago • 2 comments

Another interesting issue, I noticed about cpt.py that on macOS it looks like it requires Macports for an (optional?) Zlib dependency: https://gist.github.com/oshadura/26ae5b7b07c37bfd2b19aa2671858147

I have homebrew and definitely I have libz here: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk/usr/lib/libz.tbd (found version "1.2.11").

oshadura avatar Apr 07 '21 10:04 oshadura

I think there might be other dependencies as well that are not detected as being already installed (and there is either a force reinstall or cpt offloads the installation check to the package manager used to install it; whichever is the default for the package manager) - this might need some investigation to figure specifically which dependency checks are failing.

On a related note, cpt should probably start using Homebrew as the package manager for installing dependencies on macOS, instead of Macports.

reikdas avatar Apr 07 '21 12:04 reikdas