Edit report at https://bugs.php.net/bug.php?id=61751&edit=1
ID: 61751
Comment by: worstnitemare at gmail dot com
Reported by: worstnitemare at gmail dot com
Summary: php_register_internal_extensions error
Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: AIX 5.3
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
Thanks for the reply...
I have tried shorting down the config to this.
./configure --prefix=/bp/d01/usr/home/bpw/bin/php \
--with-apxs2=/bp/d01/usr/home/bpw/bin/apache/bin/apxs \
--with-config-file-path=/bp/d01/usr/home/bpw/bin/apache/conf \
--enable-zip \
--with-zlib-dir=/bp/d01/usr/home/bpw/bin/zlib \
--enable-shared \
--with-libxml-dir=/bp/d01/usr/home/bpw/bin/libxml2
The config is successful as per previous config but fails on the "make" with
the
same error. I dont believe i made that clear in my original post, sorry.
config.log doesnt appear to reveal any standouts?
Earlier versions were never compiled with CLI support.
I checked the 2 files mentioned and they both have -
PHPAPI int php_register_internal_extensions(TSRMLS_D)
{
return php_register_extensions(php_builtin_extensions, EXTCOUNT
TSRMLS_CC);
}
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2012-04-20 18:57:32] [email protected]
Are there any earlier configure errors/warnings? Check config.log and see what
is failing.
When configure succeeds, you should have main/internal_functions.c and
main/internal_functions_cli.c, both declaring php_register_internal_extensions.
Have your configure options worked in previous versions? See
https://bugs.php.net/bug.php?id=61450
------------------------------------------------------------------------
[2012-04-17 06:36:19] worstnitemare at gmail dot com
also tried php5.4-201204170330 with the same result.
------------------------------------------------------------------------
[2012-04-17 06:33:44] worstnitemare at gmail dot com
Description:
------------
./configure --prefix=/bp/d01/usr/home/bpw/bin/php \
--with-apxs2=/bp/d01/usr/home/bpw/bin/apache/bin/apxs \
--with-config-file-path=/bp/d01/usr/home/bpw/bin/apache/conf \
--enable-zip \
--with-zlib-dir=/bp/d01/usr/home/bpw/bin/zlib \
--enable-shared \
--with-libxml-dir=/bp/d01/usr/home/bpw/bin/libxml2 \
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-mcrypt=/bp/d01/usr/home/bpw/bin/libmcrypt \
--enable-mbstring \
--with-curl=/bp/d01/usr/home/bpw/bin/curl \
--with-oci8=/bp/d01/usr/home/bpw/bin/oracle/db/10.2 \
--with-openssl=/bp/d01/usr/home/bpw/bin/openssl \
--with-ldap=/bp/d01/usr/home/bpw/bin/ldap
ld: 0711-319 WARNING: Exported symbol not defined:
php_register_internal_extensions
ld: 0711-317 ERROR: Undefined symbol: php_register_internal_extensions
collect2: ld returned 8 exit status
make: *** [sapi/cli/php] Error 1
adding "--disable-cli and --disable-cgi" args allows it to compile.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=61751&edit=1