ID: 32319 User updated by: cece at syrup dot hu Reported By: cece at syrup dot hu -Status: Feedback +Status: Open Bug Type: cURL related Operating System: Debian Sarge PHP Version: 4.3.10 New Comment:
Did not installed from source. Apt-getted libcurl3 and libcurl3-dev packages, the freshy ones. So, i think libcurl installed ok. Tested, only one curl-config present, under /usr/bin dir. Previous Comments: ------------------------------------------------------------------------ [2005-03-16 00:57:59] [EMAIL PROTECTED] And you are sure you've done clean install of the new curl version? ie. you don't have some old headers / curl-config files laying around? Try this: # find / -name curl-config You should get only one line.. ------------------------------------------------------------------------ [2005-03-15 17:41:26] cece at syrup dot hu 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 this bug report at http://bugs.php.net/?id=32319&edit=1