Re: [Tracker] build error



On Tue, 22 Aug 2006 02:23:48 +0200
Anders Aagaard <aagaande gmail com> wrote:

Hallo,
this was discussed somewhere already, the problem is that debian-ubuntu
build mysql with yassl and not with openssl (there is I think a
configure switch on mysql build).
FYI on gentoo it compiles just fine even with --as-needed and
--hash-style=both :)
Gergan
Matt Klessig wrote:
Just tried to build the latest tracker from cvs and received this
error when running make.

/usr/lib/mysql/libmysqld.a(client.o): In function `mysql_ssl_free':
undefined reference to `yaSSL_CTX_free'
/usr/lib/mysql/libmysqld.a(client.o): In function
`ssl_verify_server_cert': undefined reference to
`yaSSL_get_peer_certificate'
/usr/lib/mysql/libmysqld.a(client.o): In function
`ssl_verify_server_cert': undefined reference to
`yaX509_get_subject_name'
/usr/lib/mysql/libmysqld.a(client.o): In function
`ssl_verify_server_cert': undefined reference to
`yaX509_NAME_oneline' /usr/lib/mysql/libmysqld.a(client.o): In
function `ssl_verify_server_cert': undefined reference to
`yaX509_free' /usr/lib/mysql/libmysqld.a(client.o): In function
`mysql_get_ssl_cipher': undefined reference to
`yaSSL_get_cipher_name' /usr/lib/mysql/libmysqld.a(vio.o): In
function `vio_end': undefined reference to `yayaSSL_CleanUp'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `report_errors':
undefined reference to `yaERR_get_error_line_data'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `vio_ssl_close':
undefined reference to `yaSSL_shutdown'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `vio_ssl_close':
undefined reference to `yaSSL_free'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `vio_ssl_close':
undefined reference to `yaSSL_shutdown'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_new'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_clear'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_get_session'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_set_fd'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_set_accept_state'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_do_handshake'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslaccept':
undefined reference to `yaSSL_free'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_new'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_clear'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_get_session'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_set_fd'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_set_connect_state'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_do_handshake'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `sslconnect':
undefined reference to `yaSSL_free'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `vio_ssl_read':
undefined reference to `yaSSL_read'
/usr/lib/mysql/libmysqld.a(viossl.o): In function `vio_ssl_write':
undefined reference to `yaSSL_write'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`get_dh512': undefined reference to `yaDH_new'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`get_dh512': undefined reference to `yaDH_free'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`report_errors': undefined reference to `yaERR_get_error_line_data'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_set_cert_stuff': undefined reference to
`yaSSL_CTX_use_certificate_file'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_set_cert_stuff': undefined reference to
`yaSSL_CTX_use_PrivateKey_file'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_set_cert_stuff': undefined reference to
`yaSSL_CTX_check_private_key'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_set_cert_stuff': undefined reference to `yaERR_print_errors_fp'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_set_cert_stuff': undefined reference to `yaERR_print_errors_fp'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_verify_callback': undefined reference to
`yaX509_STORE_CTX_get_current_cert'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_verify_callback': undefined reference to
`yaX509_get_subject_name' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `vio_verify_callback': undefined reference to
`yaX509_NAME_oneline' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `vio_verify_callback': undefined reference to
`yaX509_get_issuer_name' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `vio_verify_callback': undefined reference to
`yaX509_NAME_oneline' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `vio_verify_callback': undefined reference to
`yaX509_STORE_CTX_get_error'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`vio_verify_callback': undefined reference to
`yaX509_STORE_CTX_get_error_depth'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`check_ssl_init': undefined reference to `yaSSL_library_init'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`check_ssl_init': undefined reference to
`yaOpenSSL_add_all_algorithms' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `new_VioSSLFd': undefined reference to `yaSSL_CTX_new'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLFd': undefined reference to `yaSSL_CTX_set_cipher_list'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLFd': undefined reference to
`yaSSL_CTX_load_verify_locations' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `new_VioSSLFd': undefined reference to
`yaSSL_CTX_set_default_verify_paths'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLFd': undefined reference to `yaSSL_CTX_set_tmp_dh'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLFd': undefined reference to `yaDH_free'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLConnectorFd': undefined reference to
`yaSSL_CTX_set_verify' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `new_VioSSLAcceptorFd': undefined reference to
`yaSSL_CTX_sess_set_cache_size'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`new_VioSSLAcceptorFd': undefined reference to
`yaSSL_CTX_set_verify' /usr/lib/mysql/libmysqld.a(viosslfactories.o):
In function `new_VioSSLAcceptorFd': undefined reference to
`yaSSL_CTX_set_session_id_context'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In function
`check_ssl_init': undefined reference to `yaSSL_load_error_strings'
collect2: ld returned 1 exit status
make[3]: *** [trackerd] Error 1
make[3]: Leaving directory `/home/matt/cvs/tracker/src/trackerd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/matt/cvs/tracker/src/trackerd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/matt/cvs/tracker/src'
make: *** [all-recursive] Error 1

If your on a gentoo box I'd start with compiling mysql without any
LDFLAGS.




_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list


_______________________________________________
tracker-list mailing list
tracker-list gnome org
http://mail.gnome.org/mailman/listinfo/tracker-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]