Edit report at https://bugs.php.net/bug.php?id=61751&edit=1
ID: 61751
Comment by: dreddy at spectraenergy dot com
Reported by: worstnitemare at gmail dot com
Summary: php_register_internal_extensions error
Status: Open
Type: Bug
Package: Compile Failure
Operating System: AIX 5.3
PHP Version: 5.4.0
Block user comment: N
Private report: N
New Comment:
Same problem building PHP CLI 5.5.9 on AIX 6.1, fix worked great!
Previous Comments:
------------------------------------------------------------------------
[2013-01-03 17:51:07] kevin dot sample at cpa dot state dot tx dot us
Encountered the same bug with PHP 5.4.10 on AIX 6.1 and the above fix worked perfectly. Thanks!
------------------------------------------------------------------------
[2012-11-27 15:22:37] fhburkha at blue-bird dot com
The solution from php at manujbhatia dot net worked for me!
Building 5.4.9 on AIX 5.3. Thanks very much.
------------------------------------------------------------------------
[2012-10-18 11:12:24] thotsaphon_tun at freewillsolutions dot com
Found problem about this too when build PHP5.4.7 with apache2.4.3 on aix7.1tl1sp4
ld: 0711-317 ERROR: Undefined symbol: php_register_internal_extensions
collect2: ld returned 8 exit status
make: *** [sapi/cli/php] Error 1
After modify Makefile like comment "[2012-05-18 13:24 UTC] php at manujbhatia dot net "
20c20
< PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo
sapi/cli/php_cli_server.lo
---
> PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo
sapi/cli/php_cli_server.lo $(PHP_BINARY_OBJS)
24c24
< PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo
---
> PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo
main/internal_functions.lo
make and install succeed :)
------------------------------------------------------------------------
[2012-06-16 23:55:14] worstnitemare at gmail dot com
Hi,
You legend... I had time to make the changes you suggested and everything worked
a treat.
Thanks heaps as its very much appreciated.
------------------------------------------------------------------------
[2012-05-18 13:24:30] php at manujbhatia dot net
I was having the same issue with 5.4.3 on AIX 6.1. Modifying the generated
Makefile as below fixed the issue for me:
20c20
< PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo
sapi/cli/php_cli_server.lo
---
> PHP_CLI_OBJS = sapi/cli/php_cli.lo sapi/cli/php_http_parser.lo
sapi/cli/php_cli_server.lo $(PHP_BINARY_OBJS)
24c24
< PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo
---
> PHP_CGI_OBJS = sapi/cgi/cgi_main.lo sapi/cgi/fastcgi.lo
main/internal_functions.lo
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=61751--
Edit this bug report at https://bugs.php.net/bug.php?id=61751&edit=1