#29149 [Opn->Fbk]: CURL extension can't be compiled as shared
| From: | sniper@php.net | Date: | Tue, 21 Dec 2004 06:47:14 +0000 |
| Subject: | #29149 [Opn->Fbk]: CURL extension can't be compiled as shared | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70789@lists.php.net to get a copy of this message | ||
ID: 29149
Updated by: sniper@php.net
Reported By: fdsoft at pganet dot com
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Mac OS X 10.3.4
PHP Version: 5.0.0
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.0-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2004-07-14 15:42:05] fdsoft at pganet dot com
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 this bug report at http://bugs.php.net/?id=29149&edit=1