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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 24 10:01:33 2024 UTC