#32401 [Opn->Bgs]: fail to configure --with-curl
| From: | alessio at ware dot it | Date: | Mon, 21 Mar 2005 20:16:59 +0000 |
| Subject: | #32401 [Opn->Bgs]: fail to configure --with-curl | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-75679@lists.php.net to get a copy of this message | ||
ID: 32401
User updated by: alessio at ware dot it
Reported By: alessio at ware dot it
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: debian sarge
PHP Version: 4.3.10
New Comment:
Not a bug in PHP, but in Debian's libidn package.
Previous Comments:
------------------------------------------------------------------------
[2005-03-21 21:11:22] alessio at ware dot it
Description:
------------
if i try to configure --with-curl or --with-curl=/usr or
--with-curl=shared,/usr configuration stop
checking for CURL support... yes
checking for CURL in default path... found in /usr
checking for cURL 7.9.8 or greater... libcurl 7.13.1
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for
more information.
Reproduce code:
---------------
IN config log : gcc -o conftest -g -O2 -pthread -D_REENTRANT -lcurl
-lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz conftest.c -lcurl
-lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcurl -lidn
-lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz 1>&5
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcurl.so: undefined
reference to `tld_strerror'
/usr/lib/gcc-lib/i486-linux/3.3.5/../../../libcurl.so: undefined
reference to `idna_strerror'
collect2: ld returned 1 exit status
configure: failed program was:
#line 20458 "configure"
#include "confdefs.h"
char curl_easy_perform();
int main() {
curl_easy_perform()
; return 0; }
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32401&edit=1