From: [EMAIL PROTECTED] Operating system: linux-redhat 7.2 PHP version: 4.2.0 PHP Bug Type: Compile Failure Bug description: failed to configure with mysql-4.01-alpha-ssl
my mysql is configure with open ssl php configure with mysql-4.0 --with-mysq=/usr/local/mysql configure check failed cause it didn't link it with -lssl also i had to add -lssl for php linking by hand checking for MySQL support... yes checking for mysql_close in -lmysqlclient... no checking for mysql_error in -lmysqlclient... no configure: error: mysql configure failed. Please check config.log for more information. config.log: ........... viosslfactories.o(.text+0x473): undefined reference to `ERR_print_errors_fp' viosslfactories.o(.text+0x496): undefined reference to `ERR_get_error_line_data' viosslfactories.o(.text+0x4ab): undefined reference to `SSL_load_error_strings' viosslfactories.o(.text+0x4bc): undefined reference to `OpenSSL_add_all_algorithms' /usr/local/mysql/lib/mysql/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback': viosslfactories.o(.text+0x4ea): undefined reference to `X509_STORE_CTX_get_current_cert' viosslfactories.o(.text+0x4f4): undefined reference to `X509_STORE_CTX_get_error' viosslfactories.o(.text+0x4fc): undefined reference to `X509_STORE_CTX_get_error_depth' viosslfactories.o(.text+0x511): undefined reference to `X509_get_subject_name' viosslfactories.o(.text+0x519): undefined reference to `X509_NAME_oneline' viosslfactories.o(.text+0x548): undefined reference to `X509_get_issuer_name' viosslfactories.o(.text+0x550): undefined reference to `X509_NAME_oneline' collect2: ld returned 1 exit status configure: failed program was: #line 39578 "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 mysql_error(); int main() { mysql_error() ; return 0; } -- Edit bug report at http://bugs.php.net/?id=16804&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16804&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16804&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16804&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16804&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16804&r=support Expected behavior: http://bugs.php.net/fix.php?id=16804&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16804&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16804&r=submittedtwice