Bug#381055: libmysqlclient15-dev: statically linking against libmysqld.a bails out
forwarded 381055 http://bugs.mysql.com/bug.php?id=21489 tags 381055 + upstream confirmed severity 381055 normal stop Hello Marcus On 2006-08-01 Marcus Fritzsch wrote: The problem came up when statically linking to libmysqld.a. The error message was as follows: I've reported the problem to mysql. If you desperately need it, try fixing the mysql scripts to build extras/yassl/libyassl.la into libmysqld.a (and send patches to MySQL :)) bye, -christian- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#381055: libmysqlclient15-dev: statically linking against libmysqld.a bails out
Hello On 2006-08-02 Laurent Aguerreche wrote: I took 5.0.22-3 source code and added --with-yassl parameter at ./configure. With that, my libmysqlclient15-dev package has the same problems than 5.0.22-4 to compile Tracker... I'll have a look at it this evening. As in your last mail there was a message that viosslfactories.o uses OpenSSL_add_all_algorithms, I guess that they simply forgot to change that part of the source code to use either yassl or openssl. BTW: Why are you linking against libmysqld.a? Is this intentionally? Normally applications link against libmysqlclient.so.15.0.0. Does tracker really want an *embedded* mysql server instead of using a normal mysql daemon? bye, -chrisitan- -- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#381055: libmysqlclient15-dev: statically linking against libmysqld.a bails out
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-dev1: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]
Bug#381055: libmysqlclient15-dev: statically linking against libmysqld.a bails out
Hello, some additions: I took 5.0.22-3 source code and added --with-yassl parameter at ./configure. With that, my libmysqlclient15-dev package has the same problems than 5.0.22-4 to compile Tracker... The source code of Tracker comes from there: http://freedesktop.org/wiki/Software_2fTracker To reproduce the compilation problems on Debian Unstable, you can try to grab the CVS: $ cvs -d ':pserver:[EMAIL PROTECTED]:/cvs/gnome' login (just hit enter) $ cvs -d ':pserver:[EMAIL PROTECTED]:/cvs/gnome' -z3 co tracker and then build it: ./autogen ./configure --prefix=/usr make Dependencies: libdbus-1-2, libdbus-glib-1, libextractor1c2a, libglib2.0-0, libssl-dev, shared-mime-info, libmysqlclient15-off, libmysqlclient15-dev. Laurent. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]