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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to