Bug #74187 [Opn]: Zend: symbol referencing errors : MySQL
| From: | fabulousfateh at gmail dot com | Date: | Wed, 01 Mar 2017 08:37:07 +0000 |
| Subject: | Bug #74187 [Opn]: Zend: symbol referencing errors : MySQL | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-207622@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74187&edit=1
ID: 74187
User updated by: fabulousfateh at gmail dot com
Reported by: fabulousfateh at gmail dot com
Summary: Zend: symbol referencing errors : MySQL
Status: Open
Type: Bug
Package: Compile Failure
Operating System: Solaris 11.3 Sparc
PHP Version: 7.1.2
Block user comment: N
Private report: N
New Comment:
This problem should not happen because of patch Bug #71006 Zend: symbol referencing errors.
Previous Comments:
------------------------------------------------------------------------
[2017-03-01 08:37:04] fabulousfateh at gmail dot com
This problem should not happen because of patch Bug #71006 Zend: symbol referencing errors.
------------------------------------------------------------------------
[2017-03-01 05:31:36] fabulousfateh at gmail dot com
Description:
------------
I got an error during compiling Make PHP. This should be a bug from PHP 7.1.2 and MySQL Enterprise
Server - Advanced Edition (Commercial) Ver 5.7.17
Test script:
---------------
export CC="gcc -m64"
export CFLAGS="-std=gnu99"
./configure --prefix=/opt/app/php --with-openssl=/opt/app/openssl --datadir=/opt/app/php
--enable-fpm --with-fpm-user=apache --with-fpm-group=apache --with-pcre-regex=/opt/app/pcre
--with-apxs2=/opt/app/apache/bin/apxs --with-mysqli=/opt/app/mysql/mysql/bin/mysql_config
--with-mysql-sock=/opt/app/mysql/mysql/socket/mysql.sock --with-libxml-dir=/opt/app/libxml2
--with-bz2 --with-zlib
gmake
Expected result:
----------------
gmake successfully compile.
Actual result:
--------------
ld: warning: file /usr/gcc/4.8/lib/gcc/sparc-sun-solaris2.11/4.8.2/libgcc.a(_clzdi2.o): wrong ELF
class: ELFCLASS32
Undefined first referenced
symbol in file
__clzdi2 Zend/.libs/zend_alloc.o (symbol belongs to implicit dependency
/opt/app/mysql/mysql/lib/libgcc_s.so.1)
__ctzdi2 Zend/.libs/zend_alloc.o (symbol belongs to implicit dependency
/opt/app/mysql/mysql/lib/libgcc_s.so.1)
ld: fatal: symbol referencing errors
collect2: error: ld returned 1 exit status
gmake: *** [sapi/cli/php] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74187&edit=1