ID:               16804
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         MySQL related
 Operating System: linux-redhat 7.2
 PHP Version:      4.2.0
 New Comment:

i've tested again again
ok now
mysql# configure --with-openssl=/usr ..
this works fine even php without openssl module

why do i have to specify DIR ?
it this bug is bogus, it should be explain about [DIR] in document


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

[2002-04-25 01:30:06] [EMAIL PROTECTED]

php '--with-openssl' still not help no "-lssl" is added for linking
but if i configure php '--with-openssl=/usr'
passed

why? it's said "--with-openssl=[DIR]", DIR should can optional right ?

i don't wanna compile openssl functions for php

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

[2002-04-24 20:13:00] [EMAIL PROTECTED]

Does adding --with-openssl to your PHP configure line help?


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

[2002-04-24 14:21:06] [EMAIL PROTECTED]

mysql# configure --with-openssl ......
but now
mysql# configure --with-openssl=share
it's ok

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

[2002-04-24 14:12:35] [EMAIL PROTECTED]

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 this bug report at http://bugs.php.net/?id=16804&edit=1

Reply via email to