Bug #76858 [Com]: Php compile error

From: Date: Mon, 10 Sep 2018 17:28:58 +0000
Subject: Bug #76858 [Com]: Php compile error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216966@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76858&edit=1 ID: 76858 Comment by: spam2 at rhsoft dot net Reported by: ben at hakim dot co dot il Summary: Php compile error Status: Open Type: Bug Package: MySQL related Operating System: Centos 7.5 PHP Version: 7.2.9 Block user comment: N Private report: N New Comment: --disable-all what about not exclude the ash extension and try to *start* with "--disable-all" instead finish with it which in my understanding would win against every --enable above Previous Comments: ------------------------------------------------------------------------ [2018-09-10 17:21:22] ben at hakim dot co dot il After configure try to do "make" and it's failed. ------------------------------------------------------------------------ [2018-09-10 17:19:13] ben at hakim dot co dot il Description: ------------ configure : ./configure \ "--prefix=/etc/php" \ "--exec-prefix=/etc/php" \ "--sysconfdir=/etc/php/conf" \ "--bindir=/usr/bin" \ "--sbindir=/usr/sbin" \ "--includedir=/usr/include" \ "--libexecdir=/usr/lib/php" \ "--localstatedir=/var" \ "--libdir=/usr/lib/php" \ "--mandir=/usr/share/man" \ "--with-config-file-scan-dir=/etc/php/conf/php-fpm.d" \ "--with-mysqli=mysqlnd" \ "--with-pcre-regex" \ "--with-mysql-sock=/var/lib/mysql/mysql.sock" \ "--with-mysqli=mysqlnd" \ "--with-pdo-mysql=mysqlnd" \ "--with-fpm-user=webserver" \ "--with-fpm-group=webserver" \ "--with-fpm-systemd" \ "--enable-fpm" \ "--enable-json" \ "--enable-calendar" \ "--enable-pdo" \ "--enable-phar" \ "--enable-session" \ "--enable-mbstring" \ "--disable-cgi" \ "--disable-phpdbg" \ "--disable-all" Expected result: ---------------- installation without an error Actual result: -------------- /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:885: undefined reference to `PHP_SHA256Init' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:886: undefined reference to `PHP_SHA256Update' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:887: undefined reference to `PHP_SHA256Final' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:890: undefined reference to `PHP_SHA256Init' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:891: undefined reference to `PHP_SHA256Update' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:892: undefined reference to `PHP_SHA256Final' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:895: undefined reference to `PHP_SHA256Init' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:896: undefined reference to `PHP_SHA256Update' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:897: undefined reference to `PHP_SHA256Update' /usr/local/binary/build/php-7.2.9/ext/mysqlnd/mysqlnd_auth.c:898: undefined reference to `PHP_SHA256Final' collect2: error: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76858&edit=1

« previous php.bugs (#216966) next »