php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32401 fail to configure --with-curl
Submitted: 2005-03-21 21:11 UTC Modified: 2005-03-21 21:16 UTC
From: alessio at ware dot it Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.10 OS: debian sarge
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alessio at ware dot it
New email:
PHP Version: OS:

 

 [2005-03-21 21:11 UTC] alessio at ware dot it
Description:
------------
if i try to configure --with-curl or --with-curl=/usr or --with-curl=shared,/usr configuration stop 
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.

Reproduce code:
---------------

IN config log : gcc -o conftest -g -O2 -pthread  -D_REENTRANT  -lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz conftest.c -lcurl  -lcurl -lbz2 -lz -lssl -lcrypto -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"

char curl_easy_perform();

int main() {
curl_easy_perform()
; return 0; }



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-21 21:16 UTC] alessio at ware dot it
Not a bug in PHP, but in Debian's libidn package.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 26 23:00:02 2025 UTC