Debian Php Configure Error Cannot Find Libz
Contents |
Sign in Pricing Blog Support Search GitHub This repository Watch 99 Star 2,164 Fork 610
Configure: Error: Cannot Find Libz Php55
Homebrew/homebrew-php Code Issues 29 Pull requests 15 Projects 0 Wiki Pulse osx install zlib Graphs Cannot find libz when install php56 #1946 Closed SeanCode opened this Issue Jul 30, brew configure: error: cannot find libz 2015 · 17 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 17 participants SeanCode commented Jul 30,
Brew Install Zlib
2015 ==> ./configure --prefix=/usr/local/Cellar/php56/5.6.11_2 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.6 --with-config-file-path=/usr/local/etc/php/5.6 --with checking whether to enable the SQLite3 extension... yes checking bundled sqlite3 library... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no configure: error: Cannot find libz LoicUV commented Jul 30, 2015 Same issue with php54
Libz Is Required For Mesos To Build
on OS X 10.11 PB3 : ==> ./configure --prefix=/usr/local/Cellar/php54/5.4.43_2 --localstatedir=/usr/local/var --sysconfdir=/usr/lo checking whether to enable the SQLite3 extension... yes checking bundled sqlite3 library... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no configure: error: Cannot find libz Tried removing php54 and all extensions, brew cleanup, to no avail. Homebrew member dunn commented Jul 30, 2015 Could you both post brew gist-logs php56, please? LoicUV commented Jul 30, 2015 https://gist.github.com/anonymous/0cf06eeb396dd4106f7a LoicUV commented Jul 30, 2015 Looks like I fixed my issue, I did install Xcode 7 and ran sudo xcode-select -s /Applications/Xcode-beta.app But I forgot Command Line Tools to be installed with xcode-select --install Then brew reinstall php54 did the trick. Sorry for my mistake, thanks for you time though. ablyler closed this Aug 1, 2015 DouglasUrner commented Aug 13, 2015 Thank you! That solved my problem too (on 10.11 beta 4). andreas4all commented Sep
Sign in Pricing Blog Support Search GitHub This repository Watch 99 Star 2,164 Fork 610 Homebrew/homebrew-php Code Issues 29 configure error cannot find libz ubuntu Pull requests 15 Projects 0 Wiki Pulse Graphs New issue Cannot
Configure: Error: Cannot Find Libz Mesos
find libz #2033 Closed liulingfree opened this Issue Sep 4, 2015 · 12 comments Projects None checking for bzip2 in default path... not found yet Labels None yet Milestone No milestone Assignees No one assigned 12 participants liulingfree commented Sep 4, 2015 i have a error when i install https://github.com/Homebrew/homebrew-php/issues/1946 php56,this is the information: checking whether to enable the SQLite3 extension... yes checking bundled sqlite3 library... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no configure: error: Cannot find libz mxi1 commented Sep 8, 2015 I encountered the same issue when trying to install php55, which says https://github.com/Homebrew/homebrew-php/issues/2033 checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no configure: error: Cannot find libz Actually, zlib has already been installed. brew search zlib homebrew/dupes/zlib (installed) lzlib (installed) Thanks. jeffgeorge referenced this issue Sep 10, 2015 Closed php failed to build on 10.11 #1941 Homebrew member ablyler commented Sep 11, 2015 @liulingfree / @mxi1 can you try this: sudo xcode-select -s /Library/Developer/CommandLineTools 👍 1 jeffgeorge commented Sep 11, 2015 I was having this same issue and it looks like it was because I was still using the CLI Tools from the Xcode Beta app as xcode-select -p was returning /Applications/Xcode-beta.app/Contents/Developer. sudo xcode-select --install && sudo xcode-select -s /Library/Developer/CommandLineTools got it sorted for me, php 5.5.29 installs fine now. Zifius commented Sep 12, 2015 Can confirm that getting Command Line Tools for XCode 7 GM solves the issue liulingfree commented Sep 14, 2015 @ablyler It's Perfect solution andrewtch commented Oct 1, 2015 Fixes just running sudo x
Application AccelerationCase StudiesTestimonialsBenchmarksPartnersHosting PartnersTechnology PartnersSupport PartnersPartner ProgramSupportServicesForumWikiDocumentationDownloadsStore Log in or Sign up LiteSpeed Support Forums Forums > LiteSpeed Web Server > Install/Configuration > [RESOLVED] PHP Installation Errors Discussion in 'Install/Configuration' started by Cool-R, Oct 24, 2010. Cool-R New Member Hello, I've http://www.litespeedtech.com/support/forum/threads/resolved-php-installation-errors.4405/ been trying to update PHP using the Actions -> PHP. (admin panel) http://www.johnro.net/2016/03/03/homebrew-php-upgrade-configure-error-cannot-find-libz/ I have tried it on CENTOS an Debian 64 bit, Got same errors. I'm including Logs for easier understanding. Code: **MAIN_STATUS** retrieved from /usr/local/lsws/phpbuild/buildphp_1287909439.5.progress Preparing all source code for building PHP 5.3.3 with LSAPI Retrieving PHP source archive from LINK Extracting PHP source archive: tar -zxf php-5.3.3.tar.gz cannot find Retrieving Suhosin patch from LINK Patching source with Suhosin patch **ERROR** Could not patch source with Suhosin patch I'm not really good at Linux but If someone could tell me how this can be fixed, I'd appreciate it. Is it a bug with Litespeed? Or I need to edit something to get it done automatically. Last edited by a cannot find libz moderator: Oct 26, 2010 Cool-R, Oct 24, 2010 #1 NiteWave Administrator install a command "patch" apt-get install patch.x86_64 may resolve the issue. "patch.x86_64" may not be exact debian package name. "aptitude search patch" to get the right name. Last edited: Oct 24, 2010 NiteWave, Oct 24, 2010 #2 Cool-R New Member Hello, Thanks for your kind help. Yep, I've done this. apt-get install patchClick to expand... Ran it, It went fine. Went to the next page. Now It's asking me to run this on Shell /usr/local/lsws/phpbuild/buildphp_manual_run.shClick to expand... I ran it. Everything was fine untill at the end, I got this error. **LOG_DETAIL** retrieved from /usr/local/lsws/phpbuild/buildphp_1287943317.7.log ============================================== Start building PHP 5.3.3 with LSAPI ============================================== Sun Oct 24 22:03:28 MSD 2010 Changing to build directory /usr/local/lsws/phpbuild/php-5.3.3 Configuring PHP build (2-3 minutes) ./configure '--prefix=/usr/local/lsws/lsphp5' '--with-mysqli' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--with-iconv' '--enable-suhosin' '--with-litespeed' creating cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking h
Upgrading 1 outdated package, with result: homebrew/php/php70 7.0.4 ==> Upgrading homebrew/php/php70 ==> Downloading https://php.net/get/php-7.0.4.tar.bz2/from/this/mirror Already downloaded: /Library/Caches/Homebrew/php70-7.0.4 ==> ./configure --prefix=/usr/local/Cellar/php70/7.0.4 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/7.0 --with-config-file-path=/usr/local/etc/php/7.0 --wi Last 15 lines from /Users/johnro/Library/Logs/Homebrew/php70/01.configure: checking for OpenSSL support... yes checking for Kerberos support... /usr checking whether to use system default cipher list instead of hardcoded value... no checking for krb5-config... /usr/bin/krb5-config checking for RAND_egd... no checking for pkg-config... no checking for OpenSSL version... >= 0.9.8 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... yes checking for PCRE library to use... bundled checking whether to enable the SQLite3 extension... yes checking bundled sqlite3 library... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no configure: error: Cannot find libz 1234567891011121314151617181920212223 $ brew upgrade==> Upgrading 1 outdated package, with result:homebrew/php/php70 7.0.4==> Upgrading homebrew/php/php70==> Downloading https://php.net/get/php-7.0.4.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php70-7.0.4==> ./configure --prefix=/usr/local/Cellar/php70/7.0.4 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/7.0 --with-config-file-path=/usr/local/etc/php/7.0 --wiLast 15 lines from /Users/johnro/Library/Logs/Homebrew/php70/01.configure:checking for OpenSSL support... yeschecking for Kerberos support... /usrchecking whether to use system default cipher list instead of hardcoded value... nochecking for krb5-config... /usr/bin/krb5-configchecking for RAND_egd... nochecking for pkg-config... nochecking for OpenSSL version... >= 0.9.8checking 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 libz Of course, I did the first thing I always do when running into an error, Google it! And I found this link that suggested running the following: Shell $ xcode-select --install 1 $ xcode-select --install After that, Shell $ brew upgrade 1 $ brew upgrade ran fine. Share this:Click to