Bacula 5.0.3 i undefined symbol: my_thread_end

Elan Ruusamäe glen at pld-linux.org
Tue Apr 5 09:39:22 CEST 2011


On 04.04.2011 16:45, Jakub Bogusz wrote:
> On Mon, Apr 04, 2011 at 12:11:39PM +0200, Adam Chabin wrote:
>> Cześć,
>>
>> Mam problem z bacula. Po uruchomieniu joba pod sam jego koniec proces
>> bacula-dir umiera z takim komunikatem:
> [bacula-dir dies with:]
>
>> ripley-dir: msgchan.c:362-1004 === End msg_thread. JobId=1004 usecnt=2
>> /usr/sbin/bacula-dir: symbol lookup error: /usr/lib/libbacsql-5.0.3.so:
>> undefined symbol: my_thread_end
> Some symbol recently unexported from libmysqlclient?
>

5.5 misses version symboling completely, we use version script from fedora

headers for mysql-devel are very poor and apps linked with it too, they 
do not even use correct prototypes

imho we should compile all aps with 
-Werror=implicit-function-declaration and ensure prototypes are present, 
like i did for perl-DBD-mysql

http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-DBD-mysql/perl-DBD-mysql.spec.diff?r1=1.78;r2=1.79;f=h
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/perl-DBD-mysql/headers.patch?annotate=1.1




-- 
glen



More information about the pld-devel-en mailing list