Hi folks, I'm trying to build and run Bacula 5.2.13 on Ubuntu server 12.04.02. I have downloaded source and bacula builds with no problem but the director fails to start with the following error:
node1:~# /opt/bacula/bin/bacula-dir -f /opt/bacula/bin/bacula-dir: symbol lookup error: /opt/bacula/lib/libbaccats-5.2.13.so: undefined symbol: mysql_thread_safe node1:~# dpkg --list |grep libmysqlclient ii libmysqlclient-dev 5.5.32-0ubuntu0.12.04.1 MySQL database development files ii libmysqlclient18 5.5.32-0ubuntu0.12.04.1 MySQL database client library node1:~# I went back and double checked my configure and make output and all looks good. checking for mysql_thread_safe in -lmysqlclient_r... yes checking for pthread_create in -lpthread... yes ... C Compiler: gcc 4.6.3-1ubuntu5) C++ Compiler: /usr/bin/g++ 4.6.3-1ubuntu5) Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: Libraries: -lpthread -ldl -ldl ... Making libbaccats-mysql.la ... /home/mrc/bacula-build/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -D_BDB_PRIV_INTERFACE_ -o libbaccats-mysql.la mysql.lo -export-dynamic -rpath /opt/bacula/lib -release 5.2.13 \ -soname libbaccats-5.2.13.so ==== Make of sqllibs is good ==== ... /home/mrc/bacula-build/bacula-5.2.13/libtool --silent --tag=CXX --mode=link /usr/bin/g++ -L../lib -L../cats -L../findlib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o \ -lbacfind -lbacsql -lbaccats -lbacpy -lbaccfg -lbac -lm -lpthread -ldl -ldl \ ==== Make of dird is good ==== I'm fairly experienced running and building Bacula on Ubuntu server going back to the 3.x days and Ubuntu 8.04 but I'm not really a programmer, realy more of an admin that knows how to use google and follow instructions and just enough programming to get myself into trouble. I can't figure this one out. Anyone have any ideas? My ./configure file is the example from the 5.2.13 ReleaseNotes minus the --enable-bat because I don't have Qt loaded. Is this more of a question for the bacula-devel list? Any help or ideas are greatly appreciated. Thanks, Mike ------------------------------------------------------------------------------ Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users