From: Eric B. <eri...@ba...> - 2011-12-12 08:32:47
|
Hello, On 12/11/2011 11:06 PM, Simone Caronni wrote: > Hello, > > attached is a simple patch from Oliver Falk (who's reading in CC) for > a symbol lookup error with MySQL 5.5.18. > > "symbol lookup error: /usr/lib/libbaccats-5.2.2.so: undefined symbol: > my_thread_end" A bit strange, here with MySQL 5.5.18 I don't have this problem... I can imagine that it's a problem with the MySQL package. However, even the documentation redirects to the "new" function and it looks to be present in all version, so I will apply your patch. Thanks, Bye > The patch renames the function to "mysql_thread_end". > > diff -Naur bacula-5.2.2.old/src/cats/mysql.c bacula-5.2.2/src/cats/mysql.c > --- bacula-5.2.2.old/src/cats/mysql.c 2011-11-26 15:08:12.000000000 +0100 > +++ bacula-5.2.2/src/cats/mysql.c 2011-12-10 22:32:47.763334236 +0100 > @@ -296,7 +296,7 @@ > void B_DB_MYSQL::db_thread_cleanup(void) > { > #ifndef HAVE_WIN32 > - my_thread_end(); > + mysql_thread_end(); > #endif > } > > Regards, > --Simone > > > -- > You cannot discover new oceans unless you have the courage to lose > sight of the shore (R. W. Emerson). > > -- Need professional help and support for Bacula ? Visit http://www.baculasystems.com |