ID:               33448
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Compile Failure
 Operating System: CYGWIN_NT-5.1
 PHP Version:      5.1.0b2
 New Comment:

The message is fine. There is no such magic to know whether it's your
libpath that is wrong or if the library simply doesn't exist. (checking
if the file to exists is not a solution)


Previous Comments:
------------------------------------------------------------------------

[2005-06-23 11:49:30] [EMAIL PROTECTED]

Installing then openssl-devel package fixed that problem. Nevertheless,
the error message is so misleading that even you misunderstood it.

------------------------------------------------------------------------

[2005-06-23 11:30:42] [EMAIL PROTECTED]

Set your build environment correctly and it will work.
I don't know what it is with Cygwin but in unix it's usually set with
LIBPATH (linux has also /etc/ld.so.conf file where the paths are
stored)


------------------------------------------------------------------------

[2005-06-23 11:26:37] [EMAIL PROTECTED]

Description:
------------
Configuring PHP with curl does not work

Reproduce code:
---------------
$ ./configure --prefix=/opt/php --sysconfdir=/etc/opt/php
--localstatedir=/var/opt/php --enable-cli --enable-fastcgi
--enable-discard-path --enable-force-cgi-redirect --enable-mbstring
--with-gd --with-zlib --with-curl --with-iconv --disable-ipv


Expected result:
----------------
Configure finishes successfully.

Actual result:
--------------
[...]

checking for CURL support... yes
checking if we should use CURL for url streams... no
checking for CURL in default path... found in /usr
checking for cURL 7.10.5 or greater... libcurl 7.11.1
checking for curl_easy_perform in -lcurl... no
configure: error: There is something wrong. Please check config.log for
more inf
ormation.

config.log says:
---------------------------------------------------------
configure:24281: checking for CURL support
configure:24327: checking if we should use CURL for url streams
configure:24354: checking for CURL in default path
configure:24372: checking for cURL 7.10.5 or greater
configure:24704: checking for curl_easy_perform in -lcurl
configure:24723: gcc -o conftest -g -O2   -lcurl -lssl -lcrypto -lgdi32
-lwinmm 
-lz conftest.c -lcurl  -lcurl -lz -lm  -lxml2 -lz -liconv -lm -lcurl
-lssl -lcry
pto -lgdi32 -lwinmm -lz 1>&5
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
cannot find
 -lssl
collect2: ld returned 1 exit status
configure: failed program was:
#line 24712 "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()
; return 0; }
---------------------------------------------------------


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33448&edit=1

Reply via email to