Macbrewinstallphp55-pthreads failed

Source: Internet
Author: User
Tags openssl version
{Code ...} the above is the execution process according to the error: configure: error: Cannotfindlibz check zlib is also installed, it is not clear why the error is supplemented with php55, apache24, mysql, etc. are brew installed
brew install php55-pthreads==> Installing php55-pthreads from josegonzalez/homebrew-php==> Installing dependencies for josegonzalez/php/php55-pthreads: php55==> Installing josegonzalez/php/php55-pthreads dependency: php55==> Downloading https://php.net/get/php-5.5.30.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php55-5.5.30==> ./configure --prefix=/usr/local/Cellar/php55/5.5.30 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usrLast 15 lines from /Users/xcvu/Library/Logs/Homebrew/php55/01.configure:checking for Kerberos support... /usrchecking for krb5-config... /usr/bin/krb5-configchecking for DSA_get_default_method in -lssl... nochecking for X509_free in -lcrypto... yeschecking for RAND_egd... nochecking for pkg-config... nochecking for OpenSSL version... >= 0.9.6checking for CRYPTO_free in -lcrypto... yeschecking for SSL_CTX_set_ssl_version in -lssl... yeschecking for PCRE library to use... bundledchecking whether to enable the SQLite3 extension... yeschecking bundled sqlite3 library... yeschecking for ZLIB support... yeschecking if the location of ZLIB install directory is defined... noconfigure: error: Cannot find libzREAD THIS: https://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew):  https://github.com/josegonzalez/homebrew-php/issues

The above is the execution process

According to the error: configure: error: Cannot find libz
Check that zlib is installed too. It is not clear why the error is reported.

Php55, apache24, and mysql are all installed by brew.

Reply content:
brew install php55-pthreads==> Installing php55-pthreads from josegonzalez/homebrew-php==> Installing dependencies for josegonzalez/php/php55-pthreads: php55==> Installing josegonzalez/php/php55-pthreads dependency: php55==> Downloading https://php.net/get/php-5.5.30.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php55-5.5.30==> ./configure --prefix=/usr/local/Cellar/php55/5.5.30 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.5 --with-config-file-path=/usrLast 15 lines from /Users/xcvu/Library/Logs/Homebrew/php55/01.configure:checking for Kerberos support... /usrchecking for krb5-config... /usr/bin/krb5-configchecking for DSA_get_default_method in -lssl... nochecking for X509_free in -lcrypto... yeschecking for RAND_egd... nochecking for pkg-config... nochecking for OpenSSL version... >= 0.9.6checking for CRYPTO_free in -lcrypto... yeschecking for SSL_CTX_set_ssl_version in -lssl... yeschecking for PCRE library to use... bundledchecking whether to enable the SQLite3 extension... yeschecking bundled sqlite3 library... yeschecking for ZLIB support... yeschecking if the location of ZLIB install directory is defined... noconfigure: error: Cannot find libzREAD THIS: https://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew):  https://github.com/josegonzalez/homebrew-php/issues

The above is the execution process

According to the error: configure: error: Cannot find libz
Check that zlib is installed too. It is not clear why the error is reported.

Php55, apache24, and mysql are all installed by brew.

Xcode-select -- install the command line tool and then try again

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.