Package: libmysqlclient15-dev Version: 5.0.22-4 Severity: important The problem came up when statically linking to libmysqld.a. The error message was as follows:
-----snip----- gcc -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wsign-compare -o trackerd trackerd.o tracker-inotify.o tracker-db.o tracker-dbus.o tracker-dbus-files.o tracker-dbus-methods.o tracker-dbus-metadata.o tracker-dbus-keywords.o tracker-dbus-search.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 /usr/lib/libgthread-2.0.so -ldbus-glib-1 -ldbus-1 /usr/lib/libglib-2.0.so -L/usr/lib/mysql -lmysqld -lz -lcrypt -lnsl -lm -lpthread -lwrap -lrt -lssl -lcrypto -lstdc++ /usr/lib/mysql/libmysqld.a(viosslfactories.o): In function `new_VioSSLAcceptorFd': (.text+0x282): undefined reference to `SSL_CTX_sess_set_cache_size' /usr/lib/mysql/libmysqld.a(viosslfactories.o): In function `new_VioSSLAcceptorFd': (.text+0x2f9): undefined reference to `SSL_CTX_set_tmp_dh' /usr/lib/mysql/libmysqld.a(viosslfactories.o): In function `new_VioSSLAcceptorFd': (.text+0x35d): undefined reference to `OpenSSL_add_all_algorithms' /usr/lib/mysql/libmysqld.a(viosslfactories.o): In function `new_VioSSLConnectorFd': (.text+0x513): undefined reference to `SSL_CTX_set_tmp_dh' /usr/lib/mysql/libmysqld.a(viosslfactories.o): In function `new_VioSSLConnectorFd': (.text+0x57e): undefined reference to `OpenSSL_add_all_algorithms' collect2: ld returned 1 exit status -----snap----- The linking works with version 5.0.22-3! -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17.6-r01 Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15) Versions of packages libmysqlclient15-dev depends on: ii libmysqlclient15off 5.0.22-4 mysql database client library ii zlib1g-dev 1:1.2.3-13 compression library - development libmysqlclient15-dev recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]