|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-16 00:57 UTC] sniper@php.net
[2005-03-16 02:03 UTC] cece at syrup dot hu
[2005-03-16 02:10 UTC] cece at syrup dot hu
[2005-03-16 07:40 UTC] sniper@php.net
[2005-03-16 12:11 UTC] cece at syrup dot hu
[2005-03-16 22:53 UTC] daniel-curl at haxx dot se
[2005-03-17 08:25 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 08:00:01 2025 UTC |
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'