Bug #76483 [Com]: PHP 7.3.0alpha1 cannot be compiled with system liblzip

From: Date: Sat, 15 Jun 2019 08:21:44 +0000
Subject: Bug #76483 [Com]: PHP 7.3.0alpha1 cannot be compiled with system liblzip
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221332@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76483&edit=1 ID: 76483 Comment by: jfcherng at gmail dot com Reported by: pa at yourserveradmin dot com Summary: PHP 7.3.0alpha1 cannot be compiled with system liblzip Status: Not a bug Type: Bug Package: Zip Related Operating System: CentOS PHP Version: 7.3.0alpha1 Assigned To: cmb Block user comment: N Private report: N New Comment: @forwork.jan I install libzip on /usr/local. I could build it with executing the following command before building. PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:${PKG_CONFIG_PATH}" Previous Comments: ------------------------------------------------------------------------ [2019-05-10 04:14:13] forwork dot jan at gmail dot com I have the same question I have compile libzip-1.5.2 by cmake mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local/libzip .. && make install echo "/usr/local/libzip/lib64" >> /etc/ld.so.conf && ldconfig But in compile still fail checking libzip... yes checking for the location of zlib... /usr checking for pkg-config... (cached) /bin/pkg-config checking for libzip... not found configure: error: Please reinstall the libzip distribution ------------------------------------------------------------------------ [2019-03-20 07:59:06] cmb@php.net If you use --without-libzip, the deprecation notice is to be expected, since this option will be removed in the future (PHP 7.4 or 8). If you use --with-libzip, the installed libzip has to be ≥ 0.11. If it is not, consider to update. ------------------------------------------------------------------------ [2019-03-20 06:47:10] pa at yourserveradmin dot com To make the question cleat: prior to the 7.3.3 patch release builds successfully passed using the previously suggested combination of configuration flags. So, in case this is just a configuration flags question, possible I'll be able to provide you with guarantee working set of flags. ------------------------------------------------------------------------ [2019-03-20 06:44:19] pa at yourserveradmin dot com > compiling 7.3.3 on the same machine Have you tried to compile PHP 7.3.2 to see if your issue is caused by the latest patch version changes? ------------------------------------------------------------------------ [2019-03-20 06:19:51] mysamraat at gmail dot com When compiling PHP 7.3.3 with --enable-zip and --without-libzip, I am getting the below output. checking for the location of zlib... /usr configure: WARNING: ======================================================== configure: WARNING: Use of bundled libzip is deprecated and will be removed. configure: WARNING: Some features such as encryption and bzip2 are not available. configure: WARNING: Use system library and --with-libzip is recommended. configure: WARNING: ======================================================== Otherwise, it says the libzip needs to be > 0.11 I am using CentOS 7 for the installation. What could be done to upgrade libzip and also get bzip2 functionalities up as well? I am using 7.2.4 (installed and works fine) and compiling 7.3.3 on the same machine. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=76483 -- Edit this bug report at https://bugs.php.net/bug.php?id=76483&edit=1

« previous php.bugs (#221332) next »