Bug #76858 [Opn->Dup]: Php compile error

From: Date: Mon, 10 Sep 2018 18:06:23 +0000
Subject: Bug #76858 [Opn->Dup]: Php compile error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-216969@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 Updated by: cmb@php.net Reported by: ben at hakim dot co dot il Summary: Php compile error -Status: Open +Status: Duplicate Type: Bug -Package: MySQL related +Package: MySQLi related Operating System: Centos 7.5 PHP Version: 7.2.9 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: Duplicate of bug #76600. Previous Comments: ------------------------------------------------------------------------ [2018-09-10 17:38:35] spam2 at rhsoft dot net no, if you sue tihings like --disable-all you are supposed to know what you are doing ------------------------------------------------------------------------ [2018-09-10 17:33:37] ben at hakim dot co dot il yea. when I do "--enable-hash" it's working. I think the error must should be change or something. ------------------------------------------------------------------------ [2018-09-10 17:28:58] spam2 at rhsoft dot net --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 ------------------------------------------------------------------------ [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 (#216969) next »