I attempted to compile the 5.3 snap for the cli and embed sapi (Shared)
and run into what appears to be an issue with trying to link duplicated
symbols.
The problem appears to go away if I attempt to compile the embed sapi
statically.
Other report:
http://marc.info/?l=php-install&m=120475189522623&w=2
Similarly described in this bug:
http://bugs.php.net/bug.php?id=42106
My 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
Is this an issue? should i file a bug report?
I am using the stock gcc provided with xcode on os.x 10.5, no custom
CFLAGS. I imagine the problem goes away when statically compiling b/c I
see this line where the original error is produced:
"copying selected object files to avoid basename conflicts..."
Thanks,
Ralph Schindler
Hi Ralph,
Similarly described in this bug:
You might also find this relevant: http://bugs.php.net/bug.php?id=44462
Thanks,
Paul
--
Paul Biggar
paul.biggar@gmail.com
My 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 confirm the exact same error after "./configure --enable-embed"
but know nothing beyond that.
Regards,
Philip