From: fdsoft at pganet dot com Operating system: Mac OS X 10.3.4 PHP version: 5.0.0 PHP Bug Type: Compile Failure Bug description: CURL extension can't be compiled as shared
Description: ------------ I'm running Mac OS X 10.3.4 with curl 7.12.0 installed in /usr/local. PHP 4.3.8's version of the curl extension still compiles OK (as shared). Trying to compile the curl extension *as a shared module* for PHP 5.0.0 results in the following error message: gcc -flat_namespace -undefined suppress -o .libs/curl -bundle .libs/interface.o .libs/multi.o .libs/streams.o -L/usr/local/lib /usr/local/lib/libcurl.dylib -lssl -lcrypto -lz ld: multiple definitions of symbol _le_curl .libs/interface.o definition of _le_curl in section (__DATA,__common) .libs/multi.o definition of _le_curl in section (__DATA,__common) ld: multiple definitions of symbol _le_curl_multi_handle .libs/interface.o definition of _le_curl_multi_handle in section (__DATA,__common) .libs/multi.o definition of _le_curl_multi_handle in section (__DATA,__common) .libs/streams.o definition of _le_curl in section (__DATA,__common) .libs/streams.o definition of _le_curl_multi_handle in section (__DATA,__common) make: *** [curl.la] Error 1 Configure parameter used was --with-curl=shared,/usr/ local Again, it doesn't occur if the CURL extension is built in statically, so it's no biggie. -- Edit bug report at http://bugs.php.net/?id=29149&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29149&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29149&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29149&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29149&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29149&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29149&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29149&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29149&r=support Expected behavior: http://bugs.php.net/fix.php?id=29149&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29149&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29149&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29149&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29149&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29149&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29149&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29149&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29149&r=float