Re: Re: [Tracker] Some Questions
- From: Gergan Penkov <gpp666_999 yahoo de>
- To: tracker-list gnome org
- Subject: Re: Re: [Tracker] Some Questions
- Date: Tue, 16 May 2006 20:07:34 +0200 (CEST)
Hi,
well thanks for the explanation, it seems that on
account with the configuration you are absolutly
right, I should have checked without my patch in
recent cvs-checkouts, it seems that
/tracker/src/trackerd/trackerd.c before revision 1.7
could have been the culprit for this behaviour, at
least it now creates the db in ~/.Tracker/data without
any patching on clean install, where it earlier tried
to connect to the system db earlier.
The second issue with the ssl is still present, it
seems that it is gentoo-specific and no it is not
linking to the mysql-deamon-libs (from the error this
is easy to see, and I have stopped the mysqld - and
there is no instance of it when running trackerd), the
actual error is:
make[2]: Entering directory
`/var/tmp/portage/tracker-9999/work/tracker/src/trackerd'
/bin/sh ../../libtool --tag=CC --mode=link
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe
-Wno-unused-parameter -Wl,-O1 -Wl,--as-needed -o
trackerd trackerd.o tracker-fam.o tracker-db.o
tracker-dbus.o tracker-dbus-methods.o
tracker-dbus-metadata.o tracker-metadata.o
tracker-rdf-query.o tracker-utils.o xdgmime.o
xdgmimealias.o xdgmimecache.o xdgmimeglob.o
xdgmimeint.o xdgmimemagic.o xdgmimeparent.o -pthread
-lgthread-2.0 -lglib-2.0 -lgamin-1 -ldbus-glib-1
-ldbus-1 -lglib-2.0 -Wl,-O1 -Wl,--as-needed
-L/usr/lib/mysql -lmysqld -lz -lpthread -lcrypt -lnsl
-lm -lpthread -lrt -lstdc++
i686-pc-linux-gnu-gcc -march=athlon-xp -O2 -pipe
-Wno-unused-parameter -Wl,-O1 -Wl,--as-needed -o
trackerd trackerd.o tracker-fam.o tracker-db.o
tracker-dbus.o tracker-dbus-methods.o
tracker-dbus-metadata.o tracker-metadata.o
tracker-rdf-query.o tracker-utils.o xdgmime.o
xdgmimealias.o xdgmimecache.o xdgmimeglob.o
xdgmimeint.o xdgmimemagic.o xdgmimeparent.o -pthread
-Wl,-O1 -Wl,--as-needed -lgthread-2.0 -lgamin-1
-ldbus-glib-1 -ldbus-1 -lglib-2.0 -L/usr/lib/mysql
-lmysqld -lz -lcrypt -lnsl -lm -lpthread -lrt -lstdc++
/usr/lib/mysql/libmysqld.a(client.o): In function
`mysql_close_free_options':
client.c:(.text+0xcdd): undefined reference to
`SSL_CTX_free'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In
function `vio_set_cert_stuff':
viosslfactories.c:(.text+0x2e): undefined reference to
`SSL_CTX_use_certificate_file'
viosslfactories.c:(.text+0x4f): undefined reference to
`SSL_CTX_use_PrivateKey_file'
viosslfactories.c:(.text+0x5b): undefined reference to
`SSL_CTX_check_private_key'
viosslfactories.c:(.text+0xa0): undefined reference to
`ERR_print_errors_fp'
viosslfactories.c:(.text+0x105): undefined reference
to `ERR_print_errors_fp'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In
function `report_errors':
viosslfactories.c:(.text+0x145): undefined reference
to `ERR_get_error_line_data'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In
function `get_dh512':
viosslfactories.c:(.text+0x168): undefined reference
to `DH_new'
viosslfactories.c:(.text+0x18a): undefined reference
to `BN_bin2bn'
viosslfactories.c:(.text+0x1a9): undefined reference
to `BN_bin2bn'
viosslfactories.c:(.text+0x1c9): undefined reference
to `DH_free'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In
function `new_VioSSLAcceptorFd':
viosslfactories.c:(.text+0x22c): undefined reference
to `TLSv1_server_method'
viosslfactories.c:(.text+0x237): undefined reference
to `SSL_CTX_new'
viosslfactories.c:(.text+0x251): undefined reference
to `SSL_CTX_set_cipher_list'
viosslfactories.c:(.text+0x273): undefined reference
to `SSL_CTX_ctrl'
viosslfactories.c:(.text+0x28d): undefined reference
to `SSL_CTX_set_verify'
viosslfactories.c:(.text+0x2a6): undefined reference
to `SSL_CTX_set_session_id_context'
viosslfactories.c:(.text+0x2ce): undefined reference
to `SSL_CTX_load_verify_locations'
viosslfactories.c:(.text+0x2f7): undefined reference
to `SSL_CTX_ctrl'
viosslfactories.c:(.text+0x2ff): undefined reference
to `DH_free'
viosslfactories.c:(.text+0x316): undefined reference
to `SSL_CTX_set_default_verify_paths'
viosslfactories.c:(.text+0x340): undefined reference
to `SSL_load_error_strings'
viosslfactories.c:(.text+0x358): undefined reference
to `SSL_library_init'
viosslfactories.c:(.text+0x35d): undefined reference
to `OPENSSL_add_all_algorithms_noconf'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In
function `vio_verify_callback':
viosslfactories.c:(.text+0x38c): undefined reference
to `X509_STORE_CTX_get_current_cert'
viosslfactories.c:(.text+0x396): undefined reference
to `X509_STORE_CTX_get_error'
viosslfactories.c:(.text+0x39e): undefined reference
to `X509_STORE_CTX_get_error_depth'
viosslfactories.c:(.text+0x3b2): undefined reference
to `X509_get_subject_name'
viosslfactories.c:(.text+0x3c6): undefined reference
to `X509_NAME_oneline'
viosslfactories.c:(.text+0x417): undefined reference
to `X509_get_issuer_name'
viosslfactories.c:(.text+0x42b): undefined reference
to `X509_NAME_oneline'
/usr/lib/mysql/libmysqld.a(viosslfactories.o): In
function `new_VioSSLConnectorFd':
viosslfactories.c:(.text+0x496): undefined reference
to `TLSv1_client_method'
viosslfactories.c:(.text+0x4a1): undefined reference
to `SSL_CTX_new'
viosslfactories.c:(.text+0x4bb): undefined reference
to `SSL_CTX_set_cipher_list'
viosslfactories.c:(.text+0x4d5): undefined reference
to `SSL_CTX_set_verify'
viosslfactories.c:(.text+0x4fd): undefined reference
to `SSL_CTX_load_verify_locations'
viosslfactories.c:(.text+0x526): undefined reference
to `SSL_CTX_ctrl'
viosslfactories.c:(.text+0x52e): undefined reference
to `DH_free'
viosslfactories.c:(.text+0x546): undefined reference
to `SSL_CTX_set_default_verify_paths'
viosslfactories.c:(.text+0x578): undefined reference
to `SSL_load_error_strings'
viosslfactories.c:(.text+0x589): undefined reference
to `SSL_library_init'
viosslfactories.c:(.text+0x58e): undefined reference
to `OPENSSL_add_all_algorithms_noconf'
/usr/lib/mysql/libmysqld.a(viossl.o): In function
`report_errors':
viossl.c:(.text+0x85): undefined reference to
`ERR_get_error_line_data'
/usr/lib/mysql/libmysqld.a(viossl.o): In function
`sslconnect':
viossl.c:(.text+0x10a): undefined reference to
`SSL_new'
viossl.c:(.text+0x11c): undefined reference to
`SSL_clear'
viossl.c:(.text+0x12a): undefined reference to
`SSL_get_session'
viossl.c:(.text+0x139): undefined reference to
`SSL_SESSION_set_timeout'
viossl.c:(.text+0x153): undefined reference to
`SSL_set_fd'
viossl.c:(.text+0x161): undefined reference to
`SSL_set_connect_state'
viossl.c:(.text+0x16f): undefined reference to
`SSL_do_handshake'
viossl.c:(.text+0x1df): undefined reference to
`SSL_free'
/usr/lib/mysql/libmysqld.a(viossl.o): In function
`sslaccept':
viossl.c:(.text+0x25a): undefined reference to
`SSL_new'
viossl.c:(.text+0x26c): undefined reference to
`SSL_clear'
viossl.c:(.text+0x27a): undefined reference to
`SSL_get_session'
viossl.c:(.text+0x289): undefined reference to
`SSL_SESSION_set_timeout'
viossl.c:(.text+0x29d): undefined reference to
`SSL_set_fd'
viossl.c:(.text+0x2ab): undefined reference to
`SSL_set_accept_state'
viossl.c:(.text+0x2b9): undefined reference to
`SSL_do_handshake'
viossl.c:(.text+0x32f): undefined reference to
`SSL_free'
/usr/lib/mysql/libmysqld.a(viossl.o): In function
`vio_ssl_close':
viossl.c:(.text+0x40b): undefined reference to
`SSL_shutdown'
viossl.c:(.text+0x41b): undefined reference to
`SSL_free'
/usr/lib/mysql/libmysqld.a(viossl.o): In function
`vio_ssl_write':
viossl.c:(.text+0x5f2): undefined reference to
`SSL_write'
/usr/lib/mysql/libmysqld.a(viossl.o): In function
`vio_ssl_read':
viossl.c:(.text+0x647): undefined reference to
`SSL_read'
viossl.c:(.text+0x66e): undefined reference to
`SSL_get_error'
collect2: ld returned 1 exit status
make[2]: *** [trackerd] Error 1
make[2]: Leaving directory
`/var/tmp/portage/tracker-9999/work/tracker/src/trackerd'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/tracker-9999/work/tracker/src'
make: *** [install-recursive] Error 1
the mysql version with the use flags is:
[ebuild R ] dev-db/mysql-5.0.21 USE="berkdb
embedded perl ssl -big-tables -cluster -debug
-extraengine -latin1 -max-idx-128 -minimal -srvdir
-static" 0 kB
There is ssl-use flag - this could add some
gentoo-specific patches or enable some configure
option, which is not enabled on other distros (or it
could be that the ssl-libs are statically linked on
some distros). So probably it could test in configure
to check if the ssl-libs are needed on linking against
libmysqld.a and add them.
Anyway, thanks for the clarifications
Cheers,
Gergan
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]