Edit report at http://bugs.php.net/bug.php?id=51257&edit=1
ID: 51257 Updated by: fel...@php.net Reported by: aron dot ujvari at microsec dot hu Summary: CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1 -Status: Open +Status: Closed Type: Bug Package: cURL related Operating System: Linux PHP Version: 5.3.2 -Assigned To: +Assigned To: felipe New Comment: This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Thanks for the patch. Previous Comments: ------------------------------------------------------------------------ [2010-03-10 23:58:48] fel...@php.net Automatic comment from SVN on behalf of felipe Revision: http://svn.php.net/viewvc/?view=revision&revision=296048 Log: - Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1) patch by: aron dot ujvari at microsec dot hu ------------------------------------------------------------------------ [2010-03-10 12:37:22] aron dot ujvari at microsec dot hu Description: ------------ In ext/curl/interface.c: #if LIBCURL_VERSION_NUM > 0x070a09 /* 7.10.1 */ {"Largefile", CURL_VERSION_LARGEFILE}, #endif According to libcurl documentation (http://curl.haxx.se/libcurl/c/curl_version_info.html this symbol) it exists just after version 7.11.1 and not 7.10.1: CURL_VERSION_LARGEFILE libcurl was built with support for large files. (Added in 7.11.1) If you have libcurl version between 7.10.1 and 7.11.1 (in SLES9 for example) your build will fail since not CURL_VERSION_LARGEFILE symbol exists in libcurl but tried to used by PHP curl extension. Patch file resolves this problem attached. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51257&edit=1