note 129226 added to zip.installation

From: Date: Thu, 08 Feb 2024 11:29:32 +0000
Subject: note 129226 added to zip.installation
Groups: php.notes 
Request: Send a blank email to php-notes+get-221180@lists.php.net to get a copy of this message
No package 'libzip' found INSTALLATION PHP FROM SOURCE: ./configure \ --prefix=/usr/local/php-7.4.5 \ --disable-debug \ --enable-fpm \ --with-fpm-user=nginx \ --with-fpm-group=nginx \ --enable-inline-optimization \ --enable-ftp \ --enable-xml \ --with-libdir=/usr/lib64 \ --with-curl \ --with-iconv \ --with-gettext \ --with-mysqli \ --enable-pdo \ --with-pdo-mysql \ --with-zlib \ --with-zlib-dir=/usr/lib \ --srcdir=/usr/local/src/php-7.4.5 \ --enable-sockets \ --enable-soap \ --with-openssl \ --enable-gd \ --with-jpeg \ --with-xpm \ --with-freetype \ --with-zip \ --with-libzip=/usr/local/lib64/ \ ONIG_LIBS=/usr/lib64 checking for zip archive read/write support... yes checking for libzip >= 0.11... no configure: error: Package requirements (libzip >= 0.11) were not met: No package 'libzip' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBZIP_CFLAGS and LIBZIP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. INSTALLATION libzip-1.10.1 from source: make install [ 50%] Built target zip [ 94%] Built target man [ 96%] Built target zipcmp [ 96%] Built target zipmerge [ 98%] Built target ziptool [ 98%] Built target add-compressed-data [ 98%] Built target autoclose-archive [100%] Built target in-memory Install the project... -- Install configuration: "" -- Installing: /usr/local/lib64/pkgconfig/libzip.pc -- Installing: /usr/local/lib64/cmake/libzip/modules/FindNettle.cmake -- Installing: /usr/local/lib64/cmake/libzip/modules/Findzstd.cmake -- Installing: /usr/local/lib64/cmake/libzip/modules/FindMbedTLS.cmake -- Installing: /usr/local/include/zipconf.h -- Installing: /usr/local/lib64/cmake/libzip/libzip-config.cmake -- Installing: /usr/local/lib64/cmake/libzip/libzip-config-version.cmake -- Installing: /usr/local/lib64/cmake/libzip/libzip-targets.cmake -- Installing: /usr/local/lib64/cmake/libzip/libzip-targets-noconfig.cmake -- Installing: /usr/local/lib64/libzip.so.5.5 -- Up-to-date: /usr/local/lib64/libzip.so.5 -- Up-to-date: /usr/local/lib64/libzip.so -- Installing: /usr/local/include/zip.h -- Installing: /usr/local/share/man/man3/ZIP_SOURCE_GET_ARGS.3 ... ... -- Installing: /usr/local/bin/zipcmp -- Set runtime path of "/usr/local/bin/zipcmp" to "" -- Installing: /usr/local/bin/zipmerge -- Set runtime path of "/usr/local/bin/zipmerge" to "" -- Installing: /usr/local/bin/ziptool -- Set runtime path of "/usr/local/bin/ziptool" to "" OS: RedHat-7.9 ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.131 (proxied: 91.208.232.138) ---- Manual Page -- https://php.net/manual/en/zip.installation.php Edit -- https://main.php.net/note/edit/129226 Del: integrated -- https://main.php.net/note/delete/129226/integrated Del: useless -- https://main.php.net/note/delete/129226/useless Del: bad code -- https://main.php.net/note/delete/129226/bad+code Del: spam -- https://main.php.net/note/delete/129226/spam Del: non-english -- https://main.php.net/note/delete/129226/non-english Del: in docs -- https://main.php.net/note/delete/129226/in+docs Del: other reasons-- https://main.php.net/note/delete/129226 Reject -- https://main.php.net/note/reject/129226 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221180) next »