Problems with Bacula 9.4.3 port on FreeBSD

Andrea Brancatelli abrancatelli at schema31.it
Fri Jul 12 09:58:16 UTC 2019


Hello, 

I was trying to upgrade our Bacula 9.4.2 to 9.4.3 on FreeBSD. 

I have to compile it from ports and not use binaries as the official PKG
uses pgsql while we're using mysql. 

Anyhow, halfway through the compilation I get this error: 

Linking bacula-dir ...
/usr/ports/sysutils/bacula9-server/work/bacula-9.4.3/libtool --silent
--tag=CXX --mode=link /usr/bin/c++ -L/usr/local/lib -L/usr/local/lib
-fstack-protector-strong -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 mac.o mac_sql.o mountreq.o msgchan.o next_vol.o newvol.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 snapshot.o
ua_status.o ua_tree.o ua_update.o vbackup.o verify.o -lz -lbacfind
-lbacsql -lbaccats -lbaccfg -lbac -lm -lpthread -lintl -lwrap
/usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto
/usr/bin/ld: error: undefined symbol: BDB::bdb_get_client_pool(JCR*,
alist*)
>>> referenced by ua_prune.c
>>> ua_prune.o:(prunecmd(UAContext*, char const*))
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** [bacula-dir] Error code 1 

I suppose this is related to
https://fossies.org/diffs/bacula/9.4.2_vs_9.4.3/src/cats/sql_get.c-diff.html
which looks like a new function... ? 

Any idea about what could be causing the error? 

Thanks 

-- 

Andrea Brancatelli


More information about the freebsd-ports mailing list