|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53231 --enable-embed Fails to Link
Submitted: 2010-11-03 03:38 UTC Modified: 2021-02-21 04:22 UTC
Avg. Score:4.7 ± 0.5
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: doug at ceridwenproductions dot com Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.14 OS: MacOS X 10.5.8
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: doug at ceridwenproductions dot com
New email:
PHP Version: OS:


 [2010-11-03 03:38 UTC] doug at ceridwenproductions dot com
This appears to be an old problem that still isn't fixed. Compiling with --enable-embed on OS X does not work. See bug ##48318 for suggested fixes, but the patchfile submitted is no longer applicable to 5.2.14 sources.

Test script:
Simplified setup to reproduce the problem using gcc-4.0.1:

./configure --enable-embed

Expected result:
Successful Compile

Actual result:
Compile Fails:

ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and Zend/.libs/zend_language_scanner.o


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-11-09 15:41 UTC] corentin dot allemand at aquafadas dot com
I have the same probleme on Mac OSX 10.5 and Mac OSX 10.6

make: *** [sapi/cli/php] Error 1
make: *** Waiting for unfinished jobs....
ld: duplicate symbol _yytext in Zend/.libs/zend_ini_scanner.o and 
collect2: ld returned 1 exit status
make: *** [] Error 1
 [2021-02-08 14:21 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-02-08 14:21 UTC]
Is that still an issue with any of the actively supported PHP

[1] <>
 [2021-02-21 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Nov 28 09:01:26 2023 UTC