php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29229 --enable-ftp fails,
Submitted: 2004-07-17 19:02 UTC Modified: 2004-08-08 21:33 UTC
From: herps at raqtweak dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.0 OS: RedHat 7.x
Private report: No CVE-ID: None
 [2004-07-17 19:02 UTC] herps at raqtweak dot com
Description:
------------
When I compile with --enable-ftp, I get the following error when compiling.
When I use --disable-ftp, it works fine...
This DID work on all PHP4 builds, but not on PHP5.

ext/ftp/ftp.lo: In function `ftp_close':
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:188: undefined reference to `SSL_shutdown'
ext/ftp/ftp.lo: In function `ftp_login':
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:282: undefined reference to `SSLv23_client_method'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:282: undefined reference to `SSL_CTX_new'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:288: undefined reference to `SSL_new'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:291: undefined reference to `SSL_CTX_free'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:295: undefined reference to `SSL_set_fd'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:297: undefined reference to `SSL_connect'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:299: undefined reference to `SSL_shutdown'
ext/ftp/ftp.lo: In function `my_send':
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1267: undefined reference to `SSL_write'
ext/ftp/ftp.lo: In function `my_recv':
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1313: undefined reference to `SSL_read'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1315: undefined reference to `SSL_read'
ext/ftp/ftp.lo: In function `data_accept':
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1561: undefined reference to `SSLv23_client_method'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1561: undefined reference to `SSL_CTX_new'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1567: undefined reference to `SSL_new'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1570: undefined reference to `SSL_CTX_free'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1575: undefined reference to `SSL_set_fd'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1578: undefined reference to `SSL_copy_session_id'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1581: undefined reference to `SSL_connect'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1583: undefined reference to `SSL_shutdown'
ext/ftp/ftp.lo: In function `data_close':
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1607: undefined reference to `SSL_shutdown'
/usr/src/redhat/BUILD/php-5.0.0/ext/ftp/ftp.c:1616: undefined reference to `SSL_shutdown'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Expected result:
----------------
Normal compile.

Actual result:
--------------
Failed compile.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-07-19 22:43 UTC] derick@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2004-07-31 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2004-07-31 01:09 UTC] herps at raqtweak dot com
Well, what exactly is it you need?
I posted everything I can think of....

Thanks.
 [2004-08-08 21:33 UTC] herps at raqtweak dot com
OK... well... after long long debugging I found the issue.
It is a compatibility issue!!!

Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 10:01:30 2024 UTC