php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30742 In FC3, Curl 7.12.1 compiling with PHP fails
Submitted: 2004-11-10 07:20 UTC Modified: 2004-11-11 10:24 UTC
From: mukul at iastate dot edu Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.0.2 OS: Fedora Core 3
Private report: No CVE-ID: None
 [2004-11-10 07:20 UTC] mukul at iastate dot edu
Description:
------------
Hello,

In FC3, Curl 7.12.1, PHP doesn't compile with cURL. It says -lidn could not be found by ld.

I did a ldconfig -p | grep idn ... and found it to be there.

The config.log where this might be there :

crypto -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 22646 "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()
                                       


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-11-11 10:24 UTC] jorton@php.net
The FC3 curl-devel package should have a dependency on libidn-devel, this is already addressed for future versions.  The fix is to install libidn-devel, this isn't a PHP bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 23 12:01:32 2024 UTC