Bacula-users

[Bacula-users] Cannot build bacula-client 5.0.3 on FreeBSD 7.3

2010-09-10 15:19:03
Subject: [Bacula-users] Cannot build bacula-client 5.0.3 on FreeBSD 7.3
From: "Doug Sampson" <dougs AT dawnsign DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 10 Sep 2010 11:59:00 -0700
Today I went ahead to upgrade bacula-client to 5.0.3 from 5.0.2 and the
build broke down at the point listed below:

Linking bacula-fd ...
/usr/bin/c++  -rpath=/usr/local/lib -L../lib -L../findlib -o bacula-fd
filed.o authenticate.o acl.o backup.o estimate.o fd_plugins.o accurate.o
filed_conf.o heartbeat.o job.o pythonfd.o restore.o status.o verify.o
verify_vol.o xattr.o    -lz -lbacfind -lbacpy -lbaccfg -lbac -lm
-lpthread   -lwrap /usr/local/lib/libintl.so -L/usr/local/lib
/usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
-L/usr/local/lib -lssl -lcrypto  
/usr/bin/c++  -rpath=/usr/local/lib -static -L../lib -L../findlib -o
static-bacula-fd filed.o authenticate.o acl.o backup.o estimate.o
fd_plugins.o accurate.o filed_conf.o heartbeat.o job.o pythonfd.o
restore.o status.o verify.o verify_vol.o xattr.o    -lz -lbacfind
-lbacpy -lbaccfg -lbac -lm  -lpthread   -lwrap /usr/local/lib/libintl.so
-L/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath
-Wl,/usr/local/lib -L/usr/local/lib -lssl -lcrypto  
strip static-bacula-fd
==== Make of filed is good ====
 
==>Entering directory
/usr/ports/sysutils/bacula-client/work/bacula-5.0.3/src/console
Compiling console.c
Compiling console_conf.c
Compiling authenticate.c
/usr/bin/c++ -rpath=/usr/local/lib  -L../lib -L../cats -o bconsole
console.o console_conf.o authenticate.o   -lreadline -lhistory -lncurses
-lbaccfg -lbac -lm -lpthread /usr/local/lib/libintl.so -L/usr/local/lib
/usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
-L/usr/local/lib -lssl -lcrypto
../lib/libbac.a(bsys.o)(.text+0x11a): In function `Zinflate(char*, int,
char*, int&)':
: undefined reference to `inflateInit_'
../lib/libbac.a(bsys.o)(.text+0x138): In function `Zinflate(char*, int,
char*, int&)':
: undefined reference to `inflateEnd'
../lib/libbac.a(bsys.o)(.text+0x177): In function `Zinflate(char*, int,
char*, int&)':
: undefined reference to `inflate'
../lib/libbac.a(bsys.o)(.text+0x266): In function `Zdeflate(char*, int,
char*, int&)':
: undefined reference to `deflateInit_'
../lib/libbac.a(bsys.o)(.text+0x284): In function `Zdeflate(char*, int,
char*, int&)':
: undefined reference to `deflateEnd'
../lib/libbac.a(bsys.o)(.text+0x2ca): In function `Zdeflate(char*, int,
char*, int&)':
: undefined reference to `deflate'
*** Error code 1

Stop in /usr/ports/sysutils/bacula-client/work/bacula-5.0.3/src/console.


  ====== Error in
/usr/ports/sysutils/bacula-client/work/bacula-5.0.3/src/console ======


*** Error code 1

Stop in /usr/ports/sysutils/bacula-client/work/bacula-5.0.3.
*** Error code 1

Stop in /usr/ports/sysutils/bacula-client.
*** Error code 1

Stop in /usr/ports/sysutils/bacula-client.
root@aries:/usr/ports/sysutils/bacula-client#


I did a 'make clean' after deinstalling and I am still getting the same
error message as above. I've only selected NLS and OPENSSL as the port
build options- leaving SFDAEMON unchecked.

~Doug

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users