[ Поиск ] - [ Пользователи ] - [ Календарь ]
Полная Версия: php+curl
texnicii
Доброго всем дня, есть такая проблема при установки 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.


config.log
Код
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; }




Спустя 6 часов, 21 минута, 16 секунд (25.08.2009 - 20:35) PandoraBox2007 написал(а):
Ubuntu/Debian
Код
apt-get install libidn-devel


RedHat/Fedora/CentOS
Код
yum install libidn-devel

Спустя 3 дня, 12 часов, 47 минут, 16 секунд (29.08.2009 - 09:23) texnicii написал(а):
Спасибо за ответ))
Быстрый ответ:

 Графические смайлики |  Показывать подпись
Здесь расположена полная версия этой страницы.
Invision Power Board © 2001-2025 Invision Power Services, Inc.