Bacula-users

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

2013-01-27 21:25:59
Subject: Re: [Bacula-users] director fails with "undefined symbol: mysql_thread_safe"
From: Jeff Dickens <jeff AT seamanpaper DOT com>
To: Geert Stappers <Geert.Stappers AT vanadgroup DOT com>
Date: Sun, 27 Jan 2013 21:21:05 -0500
Thanks for the tip.. I now share my experience but I doubt it will be of all that much use unless I repeat the process and take better notes.  I got the debcheckout done and ran the deb-checkbuildeps...

It gave me a list, which I dutifully installed, and which all had lots of dependencies of their own.  It wanted Postgresql, SQLite, X11, and Kerberos libraries, which I won't be using, but after looking through /var/log/apt/term.log I can come up with some likely suspects:

libssl-dev
libjconv2, libjconv-dev
libreadline6-dev, libreadline-dev
hdparm
bc
orbit2
mtx

Something that was missing before and which caused no errors or warnings in configure and no build errors was causing the undefined symbol above.

To get to the bottom of it I bet we'd be looking at the work of a week for a dedicated release engineer.

I didn't try to build the deb. (I already have a deb for 5.2.5) but now I seem to have a working build of 5.2.12.  Now for some testing.






On Mon, Dec 31, 2012 at 3:10 AM, Geert Stappers <Geert.Stappers AT vanadgroup DOT com> wrote:
Op 20121231 om 04:50 schreef Jeff Dickens:
> On Sun, Dec 30, 2012 at 10:24 PM, Jeff Dickens <jeff AT seamanpaper DOT com> wrote:
> > 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?

( untested commands: )

   sudo aptitude install devscripts
   debcheckout bacula
   cd bacula
   dpkg-checkbuildpedens

My guess that it will reveal missing build dependencies
such as libmysqlclient-dev

Further advice: execute, in the directory where you have the "debcheckout bacula",

   fakeroot debian/rules binary

That will build, should build, the bacula  .debs.

Take that working configuration as starting point for your 5.12.2  adventure.
Feel free to share your experience.


Cheers
Geert Stappers
--
> > > > knock knock
> > > Who is it?
> > Merry
> Marry who?
Merry Christmas!
------------------------------------------------------------------------------
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



--
     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. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Bacula-users] director fails with "undefined symbol: mysql_thread_safe", Jeff Dickens <=