|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-24 14:21 UTC] Xuefer at 21cn dot com
[2002-04-24 20:13 UTC] sniper@php.net
[2002-04-25 01:30 UTC] Xuefer at 21cn dot com
[2002-04-25 02:11 UTC] Xuefer at 21cn dot com
[2002-07-02 22:51 UTC] sniper@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 13:00:01 2025 UTC |
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; }