ID:               44462
 Updated by:       ram...@php.net
 Reported By:      graham+php at nexopia dot com
-Status:           No Feedback
+Status:           Open
 Bug Type:         Compile Failure
 Operating System: OSX
 PHP Version:      5.2CVS-2009-03-25
 New Comment:

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



Previous Comments:
------------------------------------------------------------------------

[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
[apatter...@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-09 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-04-01 11:25:00] j...@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.


------------------------------------------------------------------------

[2009-03-25 18:28:07] graham+php at nexopia dot com

Incidentally, this bug is now a year old, has a functioning patch that
resolves the issue, and has still not been fixed upstream.

------------------------------------------------------------------------

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

Reply via email to