#32401 [NEW]: fail to configure --with-curl
| From: | alessio at ware dot it | Date: | Mon, 21 Mar 2005 20:11:23 +0000 |
| Subject: | #32401 [NEW]: fail to configure --with-curl | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-75677@lists.php.net to get a copy of this message | ||
From: alessio at ware dot it
Operating system: debian sarge
PHP version: 4.3.10
PHP Bug Type: Compile Failure
Bug description: fail to configure --with-curl
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 bug report at http://bugs.php.net/?id=32401&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32401&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32401&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32401&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32401&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32401&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32401&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32401&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32401&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32401&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32401&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32401&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32401&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32401&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32401&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32401&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32401&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32401&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32401&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32401&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32401&r=mysqlcfg