Доброго всем дня, есть такая проблема при установки curl для php:
имеем установленый curl
Код |
curl.i386 7.15.5-2.1.el5_3.5 curl-devel.i386 7.15.5-2.1.el5_3.5 пытаясь пересобрать php с поддрежкой курла, при конфигурации сборки имеется такая ошибка: hecking for cURL 7.10.5 or greater... libcurl 7.15.5 checking for SSL support in libcurl... yes checking how to run the C preprocessor... gcc -E checking for openssl support in libcurl... no checking for gnutls support in libcurl... no checking for curl_easy_perform in -lcurl... no configure: error: There is something wrong. Please check config.log for more information. |
Код |
configure:26607: checking for curl_easy_perform in -lcurl configure:26626: gcc -o conftest -g -O2 -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/$ /usr/bin/ld: skipping incompatible /usr/lib/libcurl.so when searching for -lcurl /usr/bin/ld: skipping incompatible /usr/lib/libcurl.a when searching for -lcurl /usr/bin/ld: cannot find -lcurl collect2: ld returned 1 exit status configure: failed program was: #line 26615 "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; } |
Код |
apt-get install libidn-devel |
Код |
yum install libidn-devel |