Ok, back at it again....

I did a fresh install from the website of everything.
I made sure that the patch was installed AFTER the
major patch (qmail-toaster-0.8.3 etc).
Ok the patch installed fine.

did a make clean
then make
and WHAM!

I get the following errors:

./load qmail-envelope-scanner -lz -lm local_scan.o
/usr/lib/mysql/libmysqlclient.a
/usr/lib/mysql/libmysqlclient.a(client.o): In function
`mysql_close_free_options': undefined reference to
`SSL_CTX_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`report_errors': undefined reference to
`ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to
`SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to
`SSL_set_connect_state'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to
`SSL_do_handshake'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslconnect': undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to
`SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to
`SSL_set_accept_state'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to `SSL_do_handshake'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`sslaccept': undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`vio_ssl_close': undefined reference to `SSL_shutdown'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`vio_ssl_close': undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`vio_ssl_write': undefined reference to `SSL_write'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`vio_ssl_read': undefined reference to `SSL_read'
/usr/lib/mysql/libmysqlclient.a(viossl.o): In function
`vio_ssl_read': undefined reference to `SSL_get_error'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_set_cert_stuff': undefined reference to
`SSL_CTX_use_certificate_file'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_set_cert_stuff': undefined reference to
`SSL_CTX_use_PrivateKey_file'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_set_cert_stuff': undefined reference to
`SSL_CTX_check_private_key'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_set_cert_stuff': undefined reference to
`ERR_print_errors_fp'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_set_cert_stuff': undefined reference to
`ERR_print_errors_fp'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `report_errors': undefined reference to
`ERR_get_error_line_data'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `get_dh512': undefined reference to `DH_new'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `get_dh512': undefined reference to
`BN_bin2bn'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `get_dh512': undefined reference to
`BN_bin2bn'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `get_dh512': undefined reference to `DH_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `TLSv1_server_method'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_new'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_set_cipher_list'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_ctrl'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_set_verify'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_set_session_id_context'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_load_verify_locations'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_ctrl'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `DH_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_CTX_set_default_verify_paths'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_load_error_strings'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `SSL_library_init'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd': undefined reference
to `OPENSSL_add_all_algorithms_noconf'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_verify_callback': undefined reference to
`X509_STORE_CTX_get_current_cert'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_verify_callback': undefined reference to
`X509_STORE_CTX_get_error'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_verify_callback': undefined reference to
`X509_STORE_CTX_get_error_depth'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_verify_callback': undefined reference to
`X509_get_subject_name'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_verify_callback': undefined reference to
`X509_NAME_oneline'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_verify_callback': undefined reference to
`X509_get_issuer_name'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `vio_verify_callback': undefined reference to
`X509_NAME_oneline'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `TLSv1_client_method'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_CTX_new'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_CTX_set_cipher_list'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_CTX_set_verify'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_CTX_load_verify_locations'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_CTX_ctrl'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `DH_free'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_CTX_set_default_verify_paths'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_load_error_strings'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `SSL_library_init'
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o): In
function `new_VioSSLConnectorFd': undefined reference
to `OPENSSL_add_all_algorithms_noconf'
collect2: ld returned 1 exit status
make: *** [qmail-envelope-scanner] Error 1





I made sure that the path to the libmysqlclient.a was
set correctly in the make file.
I reinstalled the mysqlclient.. just in case.. and
redid this... nope still fails on this

any ideas?

thanks everyone.

nitch



--- Rick Macdougall <[EMAIL PROTECTED]> wrote:

> Nitchi DaMon wrote:
> > Thanks for the replay.
> > 
> > I think I need to go home and get some rest or at
> > least walk away from this for a little bit.
> > 
> > I closed the session and went to walk away... came
> > back and tried to patch it again.... HA!  It
> worked
> > flawleessly this time!!
> > Nothing changed... I actually (on fedora core 6)
> just
> > up arrowed until I came to   my previous typing of
> 
> > cd /toaster/netqmail-1.05/netqmail-1.05
> > patch < /toaster/greylisting-20060105.patch
> > 
> > and ran it...  i swear.. i did nothign else.  and
> it
> > ran cleanly.
> > 
> > OK.. So I go and   
> > make clean
> > make
> > 
> > failed.
> > make: *** No rule to make target
> > `/usr/lib/libmysqlclient.a', needed by
> > `qmail-envelope-scanner'.  Stop.
> > 
> > arrrgg!
> > 
> 
> Normal error.  You just need to fix the path to your
> libmysqlclient.a in 
> the make file and possibly the location of mysql.h
> in the local_scan.h file.
> 
> Regards,
> 
> Rick
> 
> PS. local_scan.h is off the top of my head, it might
> be in another file, 
> when you run make after fixing the libmysqlclient
> problem it will let 
> you know where.
> 
> 



 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367

Reply via email to