php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79306 report LIBZIP_VERSION undeclared when compile.
Submitted: 2020-02-25 14:29 UTC Modified: 2020-04-08 10:45 UTC
From: 1138095873 at qq dot com Assigned: cmb (profile)
Status: Feedback Package: Compile Failure
PHP Version: 7.3.15 OS: Centos6.7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-02-25 14:29 UTC] 1138095873 at qq dot com
Description:
------------
configure args:
./configure --enable-fpm --enable-mysqlnd --enable-zip --disable-ipv6 --with-libxml-dir=/usr/local/include/libxml2/ --enable-mbstring  --with-ldap  --with-gettext  --with-gd --with-jpeg-dir --with-png-dir --with-zlib-dir=/usr/local/ --prefix=/usr/local/php

issue report:
   -c /data/php/php-7.3.15/ext/zip/php_zip.c -o ext/zip/php_zip.lo
/data/php/php-7.3.15/ext/zip/php_zip.c: In function ‘zm_info_zip’:
/data/php/php-7.3.15/ext/zip/php_zip.c:3324: error: ‘LIBZIP_VERSION’ undeclared (first use in this function)
/data/php/php-7.3.15/ext/zip/php_zip.c:3324: error: (Each undeclared identifier is reported only once
/data/php/php-7.3.15/ext/zip/php_zip.c:3324: error: for each function it appears in.)
make: *** [ext/zip/php_zip.lo] Error 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2020-04-08 10:45 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2020-04-08 10:45 UTC] cmb@php.net
Which version of libzip did you use for the build?
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Apr 10 04:01:23 2020 UTC