Hi,
I am trying to build the bacula9-server port on my FreeBSD 12.0-RELEASE-p6 GENERIC amd64 system, but it's failing with the error message:
I don't understand how this symbol can be undefined, since it's defined in ./src/cats/sql_get.c .
Any ideas how I can safely build the port?
Thanks in advance.
Best regards,
Ronny Forberger
I am trying to build the bacula9-server port on my FreeBSD 12.0-RELEASE-p6 GENERIC amd64 system, but it's failing with the error message:
Code:
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 -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
make[3]: stopped in /usr/ports/sysutils/bacula9-server/work/bacula-9.4.3/src/dird
1 error
make[3]: stopped in /usr/ports/sysutils/bacula9-server/work/bacula-9.4.3/src/dird
====== Error in /usr/ports/sysutils/bacula9-server/work/bacula-9.4.3/src/dird ======
*** [all] Error code 1
make[2]: stopped in /usr/ports/sysutils/bacula9-server/work/bacula-9.4.3
1 error
make[2]: stopped in /usr/ports/sysutils/bacula9-server/work/bacula-9.4.3
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/sysutils/bacula9-server
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/bacula9-server
===>>> make build failed for sysutils/bacula9-server
===>>> Aborting update
===>>> Update for sysutils/bacula9-server failed
===>>> Aborting update
I don't understand how this symbol can be undefined, since it's defined in ./src/cats/sql_get.c .
Any ideas how I can safely build the port?
Thanks in advance.
Best regards,
Ronny Forberger