You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after want to install pecl installation of libsodium
root@bb14f81d78a4:/var/www/html# pecl install libsodium
downloading libsodium-2.0.4.tgz ...
Starting to download libsodium-2.0.4.tgz (171,345 bytes)
.....................................done: 171,345 bytes
8 source files, building
running: phpize
Configuring for:
PHP Api Version: 20160303
Zend Module Api No: 20160303
Zend Extension Api No: 320160303
building in /tmp/pear/temp/pear-build-defaultuser6sBRRb/libsodium-2.0.4
running: /tmp/pear/temp/libsodium/configure --with-php-config=/usr/local/bin/php-config
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for PHP prefix... /usr/local
checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20160303
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for re2c... re2c
checking for re2c version... 0.13.5 (ok)
checking for gawk... no
checking for nawk... nawk
checking if nawk is broken... no
checking for sodium support... yes, shared
checking for pkg-config... /usr/bin/pkg-config
checking for libsodium... Requested 'libsodium >= 1.0.9' but version of libsodium is 1.0.0
Requested 'libsodium >= 1.0.9' but version of libsodium is 1.0.0
version 1.0.0 found using pkg-config
checking for crypto_pwhash in -lsodium... no
configure: error: wrong libsodium lib version (< 1.0.9) or lib not found
ERROR: `/tmp/pear/temp/libsodium/configure --with-php-config=/usr/local/bin/php-config' failed
The text was updated successfully, but these errors were encountered:
I use image
php:7-fpm
I think we need debian 9 for php7 base image one of errors:
after want to install pecl installation of libsodium
The text was updated successfully, but these errors were encountered: