From: cece at syrup dot hu Operating system: Debian Sarge PHP version: 4.3.10 PHP Bug Type: cURL related Bug description: PHP won't compile with libcurl 7.13.1
Description: ------------ I tried to compile (configure) PHP with the actual libcurl (7.13.1) on Debian Sarge. Both 4.3.10 and 4.3.9 failed. ... checking whether to enable calendar conversion support... no checking for cpdflib support... no checking for CRACKlib support... no checking whether to enable ctype functions... yes 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. tail of my config.log: ... configure:19409: checking for CRACKlib support configure:19820: checking whether to enable ctype functions configure:20083: checking for CURL support configure:20132: checking for CURL in default path configure:20150: checking for cURL 7.9.8 or greater configure:20450: checking for curl_easy_perform in -lcurl configure:20469: gcc -o conftest -g -O2 -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz conftest.c -lcurl -lcurl -lz -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" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char curl_easy_perform(); int main() { curl_easy_perform() ; return 0; } my full configure line: './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-inline-optimization' '--with-zlib' '--with-gd' '--with-jpeg-dir=/usr' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gif' '--with-t1lib' '--with-iconv' '--enable-ftp' '--enable-dbase' '--with-mysql' '--enable-trans-sid' '--enable-sockets' '--with-dom=/usr' '--with-curl' '--enable-bcmath' -- Edit bug report at http://bugs.php.net/?id=32319&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32319&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32319&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32319&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32319&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32319&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32319&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32319&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32319&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32319&r=support Expected behavior: http://bugs.php.net/fix.php?id=32319&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32319&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32319&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32319&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32319&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32319&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32319&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32319&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32319&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32319&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32319&r=mysqlcfg