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

From: Date: Wed, 20 Mar 2019 06:44:20 +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-220086@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:         pa at yourserveradmin 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:

> 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?


Previous Comments:
------------------------------------------------------------------------
[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)?

------------------------------------------------------------------------
[2018-06-15 16:28:17] spam2 at rhsoft dot net

and how is that a bug? either use a recent OS, compile your own version or just stick with the
bundled stuff

honestly: why do you use CentOS at all when you want the latest shit? that's not what LTS
distributons are for

------------------------------------------------------------------------
[2018-06-15 15:39:44] pa at yourserveradmin dot com

Thanks! Combination from "--enable-zip" and "--without-libzip" flags solved my
issue.

------------------------------------------------------------------------


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


Thread (16 messages)

« previous php.bugs (#220086) next »