Edit report at https://bugs.php.net/bug.php?id=76483&edit=1
ID: 76483
Updated by: cmb@php.net
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:
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.
Previous Comments:
------------------------------------------------------------------------
[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.
------------------------------------------------------------------------
[2018-10-08 10:50:33] cmb@php.net
> Should this be included in the upgrading notes in case others> run into it too
Thanks! Done:
http://git.php.net/?p=php-src.git;a=commit;h=c5df679ca8b1373e3f2a47aeba5b37da74f993de
------------------------------------------------------------------------
[2018-10-08 02:47:50] ryan dot brothers at gmail dot com
I ran into the above issue too trying to compile PHP 7.3.0RC2 on CentOS 7. Using --without-libzip
resolved it. Should this be included in the upgrading notes in case others run into it too
(https://github.com/php/php-src/blob/php-7.3.0RC2/UPGRADING)?
------------------------------------------------------------------------
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