From: herps at raqtweak dot com
Operating system: RedHat 7.x
PHP version: 5.0.0
PHP Bug Type: Compile Failure
Bug description: --enable-ftp fails,
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.
--
Edit bug report at http://bugs.php.net/?id=29229&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29229&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29229&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29229&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29229&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29229&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29229&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29229&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29229&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29229&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29229&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29229&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29229&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29229&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29229&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29229&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29229&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29229&r=float