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"
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).
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
}
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel