[UPHPU] curl-dev

Wade Preston Shearer lists at anavidesign.com
Thu Feb 3 11:55:28 MST 2005


I am trying to compile PHP and am encountering the following error:

"configure: error: There is something wrong. Please check config.log 
for more information."

Here are a few lines before it dies:

checking for CURL support... yes
checking if we should use CURL for url streams... yes
checking for CURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.12.1
checking for curl_easy_perform in -lcurl... no


The system is FC3 and apt-get "curl" and "curl-devel" are both 
up-to-date. Can anyone help? What needs to be installed? What is 
missing?

Here is what I found applicable in config.log:

configure:22160: checking for CURL supportconfigure:22206: checking if 
we should use CURL for url streamsconfigure:22233: checking for CURL in 
default pathconfigure:22251: checking for cURL 7.10.5 or 
greaterconfigure:22551: checking for curl_easy_perform in 
-lcurlconfigure:22570: gcc -o conftest -g -O2  
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib 
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib  
-Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -lcurl -lssl -lcrypto 
-lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz 
-lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lidn -lssl -lcrypto 
-lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl 
-lz -lz conftest.c -lcurl  -lcurl -lz -lresolv -lm -ldl -lnsl  -lxml2 
-lz -lm -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto 
-lresolv -ldl -lz -lcurl -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err 
-lk5crypto -lresolv -ldl -lz -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err 
-lresolv -lidn -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lkrb5 
-lcom_err -lk5crypto -lresolv -ldl -lz -lz 1>&5
/usr/bin/ld: cannot find -lidn
collect2: ld returned 1 exit status
configure: failed program was:
#line 22559 "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; }
~ 
                        



More information about the UPHPU mailing list