Bug #73943 [Com]: Problem when configuring with zip support

From: Date: Thu, 09 May 2019 09:53:44 +0000
Subject: Bug #73943 [Com]: Problem when configuring with zip support
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220792@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73943&edit=1 ID: 73943 Comment by: spam2 at rhsoft dot net Reported by: pedro dot galan at camara dot es Summary: Problem when configuring with zip support Status: Open Type: Bug Package: *Configuration Issues Operating System: RHEL5 PHP Version: 5.6.29 Block user comment: N Private report: N New Comment: stop giving entirely wrong advises bin and includes don't belong to ldconfig at all and put /usr/local stuff to system wide configs defeats completly the purpose of compile own stuff without overwrite distribution packages Previous Comments: ------------------------------------------------------------------------ [2019-05-09 06:41:55] 852110755 at qq dot com It is means the lib path not found, you can add the path to '/etc/ld.so.conf', and retry configure, like this: cat '/usr/local/bin /usr/include/lib /usr/bin ' ldconfig -v good luck ------------------------------------------------------------------------ [2018-12-12 14:12:15] agiokov at gmail dot com In my case, the issue was caused by the correct path to libzip library missing from the LD_LIBRARY_PATH environment variable. Adding it there solved it. ------------------------------------------------------------------------ [2018-03-03 11:38:59] office at jiripik dot com I have the same problem with the latest libzip and php-7.2.3 on AWS EC2 Linux. I have talked to the Libzip team and they advised that the problem is with PHP configure script. Please advise if I can provide further help. ------------------------------------------------------------------------ [2017-01-16 08:13:36] pedro dot galan at camara dot es Description: ------------ When enabling ZIP Support (enable-zip): ./configure '--prefix=/usr/local/php537' '--with-apxs2' '--with-config-file-path=/usr/local/php537/lib' '--disable-debug' '--disable-rpath' '--enable-inline-optimization' '--with-curl' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-iconv' '--with-pcre-regex' '--with-zlib' '--enable-bcmath' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--with-pear' '--with-kerberos' '--with-ldap' '--with-mysql' '--with-mysqli' '--with-pgsql' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--enable-mbstring' '--enable-mbregex' '--enable-pcntl' '--with-gd' '--with-jpeg-dir=/usr/lib' '--enable-soap' '--with-mcrypt' '--with-xsl=/usr/lib' '--with-imap' '--with-imap-ssl' '--enable-zip' '--with-libzip=/usr/local' '--with-pdo-mysql' '--with-freetype-dir=/usr' '--with-openssl' '--enable-opcache=no' I get following error: checking for zip archive read/writesupport... yes checking pcre install prefix... no checking libzip... /usr/local checking for the location of zlib... /usr checking for pkg-config... (cached) /usr/bin/pkg-config checking for libzip... from option: found in /usr/local checking for zip_open in -lzip... yes checking for int8_t... (cached) yes checking for int16_t... (cached) yes checking for int32_t... (cached) yes checking for int64_t... (cached) yes checking for uint8_t... (cached) yes checking for uint16_t... (cached) yes checking for uint32_t... (cached) yes checking for uint64_t... (cached) yes checking for ssize_t... yes checking size of short... (cached) 2 checking size of int... (cached) 4 checking size of long... (cached) 4 checking size of long long... (cached) 8 checking size of off_t... 0 configure: error: off_t undefined; check your library configuration ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=73943&edit=1

« previous php.bugs (#220792) next »