ID: 44462
Updated by: jani@php.net
Reported By: graham+php at nexopia dot com
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: OSX
PHP Version: 5.2CVS-2009-03-25
New Comment:
Closed in favor of bug #48318 (no need for two reports open about same
issue)
Previous Comments:
------------------------------------------------------------------------
[2009-07-07 18:57:28] ramsey@php.net
Looks like issue #48318 is a duplicate issue, and it includes another
patch to fix this issue.
------------------------------------------------------------------------
[2009-07-07 18:41:21] ramsey@php.net
Strange to see this ticket still not resolved after over a year has
passed. I'm having this issue, too...
On OS X 10.5.7, building PHP fails when built with --enable-embed. This
occurs in both 5.3.0 and 5.2.10.
./configure --enable-embed
make
Result from 5.3.0:
[...] sapi/embed/php_embed.lo main/internal_functions.lo -liconv
-liconv -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz
-licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2
-lz -licucore -lm -o libphp5.la
ld: duplicate symbol _spl_ce_SplDoublyLinkedList in
ext/spl/.libs/spl_dllist.o and ext/spl/.libs/php_spl.o
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
Result from 5.2.10:
[...] sapi/embed/php_embed.lo main/internal_functions.lo -liconv
-liconv -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz
-licucore -lm -lxml2 -lz -licucore -lm -lxml2 -lz -licucore -lm -lxml2
-lz -licucore -lm -o libphp5.la
ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and
Zend/.libs/zend_language_scanner.o
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
------------------------------------------------------------------------
[2009-06-13 21:05:14] aaron at tenderlovemaking dot com
This is happening for me as well:
ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and
Zend/.libs/zend_language_scanner.o
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
[apatterson@Jordan2 php-5.2.9]$
I can attach my config.log if it helps.
------------------------------------------------------------------------
[2009-06-05 19:27:45] ralph at smashlabs dot com
I can confirm this is still an issue
ld: duplicate symbol _spl_ce_SplDoublyLinkedList in
ext/spl/.libs/spl_dllist.o and ext/spl/.libs/php_spl.o
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1
I can compile statically though. Can you reopen?
------------------------------------------------------------------------
[2009-04-01 11:25:00] jani@php.net
There is no working patch here. Or are you saying you can not compile
PHP (without the experimental embed sapi)? FYI: it works fine for me.
------------------------------------------------------------------------
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
http://bugs.php.net/44462--
Edit this bug report at http://bugs.php.net/?id=44462&edit=1