#30742 [NEW]: In FC3, Curl 7.12.1 compiling with PHP fails
| From: | mukul at iastate dot edu | Date: | Wed, 10 Nov 2004 06:20:37 +0000 |
| Subject: | #30742 [NEW]: In FC3, Curl 7.12.1 compiling with PHP fails | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-68880@lists.php.net to get a copy of this message | ||
From: mukul at iastate dot edu
Operating system: Fedora Core 3
PHP version: 5.0.2
PHP Bug Type: Compile Failure
Bug description: In FC3, Curl 7.12.1 compiling with PHP fails
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()
--
Edit bug report at http://bugs.php.net/?id=30742&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30742&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30742&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30742&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30742&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30742&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30742&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30742&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30742&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30742&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30742&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30742&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30742&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30742&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30742&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30742&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30742&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30742&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30742&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30742&r=mysqlcfg