#16596: php5: undefined symbols _executor_globals _sapi_globals _compiler_globals _core_globals ---------------------------------+------------------------------------------ Reporter: artrigue@gmail.com | Owner: ryandesign@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: php5 | ---------------------------------+------------------------------------------ Comment(by artrigue@gmail.com): I did that. Is there a way I can not do that though? the official image from mysql was the culprit. — something I'd like to revert to honestly, it supports the 64 bit version. Still, the configuration script is called with a command out of sync with the portfile's configure tool, its no surprise to see things sneaking in the way here. And it just finished its build with the same error: {{{ /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols: _executor_globals _sapi_globals _compiler_globals _core_globals collect2: ld returned 1 exit status make: *** [sapi/cgi/php-cgi] Error 1 Warning: the following items did not execute (for php5): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing. }}} Those symbols are all over almost every .o in the project. The script log says {{{ ---> Configuring php5 again for fastcgi }}} but I can't find php-cgi anywhere in the build directory. I have: {{{ -rwxr-xr-x 1 root 799 sep 19 19:21 pear -rwxr-xr-x 1 root 820 sep 19 19:21 peardev -rwxr-xr-x 1 root 736 sep 19 19:21 pecl -rwxr-xr-x 1 root 7,9M sep 19 19:20 php -rwxr-xr-x 1 root 4,2K sep 19 19:20 php-config -rwxr-xr-x 1 root 4,1K sep 19 19:20 phpize }}} in ../destroot/opt/local/bin , but not php-cgi. -- Ticket URL: <http://trac.macports.org/ticket/16596#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS