Bacula-users

Re: [Bacula-users] director fails with "undefined symbol: mysql_thread_safe"

2012-12-30 22:26:51
Subject: Re: [Bacula-users] director fails with "undefined symbol: mysql_thread_safe"
From: Jeff Dickens <jeff AT seamanpaper DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Sun, 30 Dec 2012 22:24:25 -0500
btw configure said "checking for mysql_thread_safe in -lmysqlclient_r... yes"

no errors or warnings linking libbaccats-5.2.12.so

and:
# file /usr/lib/libbaccats-5.2.12.so
/usr/lib/libbaccats-5.2.12.so: symbolic link to `libbaccats-mysql.so'
# file /usr/lib/libbaccats-mysql.so
/usr/lib/libbaccats-mysql.so: symbolic link to `libbaccats-mysql-5.2.12.so'
# file /usr/lib/libbaccats-mysql-5.2.12.so
/usr/lib/libbaccats-mysql-5.2.12.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0x8c613137aaf23ce8d73901e9d7b078e756d88004, not stripped
# nm /usr/lib/libbaccats-mysql-5.2.12.so | grep mysql_thread_safe
         U mysql_thread_safe

So if I read this right, then yes, mysql_thread_safe is a defined symbol in libbaccats-5.2.12.so, but it's telling me it's not.  What could cause that?



On Sun, Dec 30, 2012 at 9:50 PM, Jeff Dickens <jeff AT seamanpaper DOT com> wrote:
I just built 5.2.12 on Ubuntu 12.04, ignoring one error during configure:

bpluginfo.c:50:24: fatal error: fd_plugins.h: No such file or directory

Configure flags were just "./configure --with-mysql". 

When I try to start the director it fails as follows:

# /sbin/bacula-dir -f -c /etc/bacula/bacula-dir.conf
/sbin/bacula-dir: symbol lookup error: /usr/lib/libbaccats-5.2.12.so: undefined symbol: mysql_thread_safe

Any ideas ? What should I look at first?


--
     Jeff Dickens
     IT Manager      978-632-1513




--
     Jeff Dickens
     IT Manager      978-632-1513

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users