Mac Brew Install Php55-pthreads failed

Source: Internet
Author: User
Tags openssl version
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 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 "do" at (not homebrew/homebrew): Https://github.com/josegonz Alez/homebrew-php/issues

The above is the execution process

According to the error: Configure:error:Cannot find Libz
Check zlib is also installed, not very clear why the error

Supplemental Php55,apache24,mysql, etc. are all brew-installed

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 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 "do" at (not homebrew/homebrew): Https://github.com/josegonz Alez/homebrew-php/issues

The above is the execution process

According to the error: Configure:error:Cannot find Libz
Check zlib is also installed, not very clear why the error

Supplemental Php55,apache24,mysql, etc. are all brew-installed

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

  • Related Article

    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.