Bug #76858 [NEW]: Php compile error
| From: | ben at hakim dot co dot il | Date: | Mon, 10 Sep 2018 17:19:14 +0000 |
| Subject: | Bug #76858 [NEW]: Php compile error | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-216964@lists.php.net to get a copy of this message | ||
From: ben at hakim dot co dot il
Operating system: Centos 7.5
PHP version: 7.2.9
Package: MySQL related
Bug Type: Bug
Bug description:Php compile error
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 bug report at https://bugs.php.net/bug.php?id=76858&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76858&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76858&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76858&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76858&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76858&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76858&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76858&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76858&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76858&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76858&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76858&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76858&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76858&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76858&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76858&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76858&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76858&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76858&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76858&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76858&r=mysqlcfg