0

I am trying to work with the DiscVoice Library which requires the Kaldi Library. In order to install Kaldi, I needed to run extras/check_dependencies.sh to check the dependencies of the program, and I am currently getting:

extras/check_dependencies.sh: zlib is not installed.
extras/check_dependencies.sh: The following prerequisites are missing; install them first:
   zlib1g-dev

I have been trying to install the zlib library, and have been unsuccessful. I have tried brew install zlib, which runs successfully but when I run the extras/check_dependencies.sh the output is not changed to reflect that.

I am working on macOS Catalina.

1 Answers1

0

zlib is already there in macOS. You don't need to install it.

You might want to examine extras/check_dependencies.sh to see how it is looking for zlib. macOS does not store its headers files or library files in the usual locations.

Mark Adler
  • 101,978
  • 13
  • 118
  • 158
  • regarding to MKL - checking the latest mkl system requirements (https://software.intel.com/content/www/us/en/develop/articles/intel-math-kernel-library-intel-mkl-2020-system-requirements.html), you could see MKL supports this os and therefore could be install on your system. – Gennady.F Jun 16 '20 at 02:43
  • This is what the `check_dependencies.sh` file contains: ```# Cannot check this without a compiler. if have "$CXX" && ! echo "#include " | $CXX -E - >&/dev/null; then echo "$0: zlib is not installed." add_packages zlib-devel zlib1g-dev fi``` Where is zlib located on mac, and how could I change its location to work with Kaldi? – Sruthi Kurada Jun 16 '20 at 13:20