Bacula-users

[Bacula-users] compile of bacula 5.2.13 failing

2016-05-20 12:34:33
Subject: [Bacula-users] compile of bacula 5.2.13 failing
From: Jerry Lowry <michaiah2007 AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 20 May 2016 09:33:33 -0700
List,
 I am setting up a test server for bacula and I am getting the following error:

Making libbaccats-mysql.la...
/usr/local/bacula-5.2.13/libtool --silent --tag=cxx --mode=link /usr/bin/g++ -D_BDB_PRIV_INTERFACE_  -o libbaccats-mysql.ls mysql.lo -export-dynamic -rpath /usr/lib64 -release 5.2.13 -soname libbaccats-5.2.13.so -R /usr/lib64/mysql -L/usr/lib64/mysql -lmysqlclient_r -lz
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status

I have use this same configure script on a couple other systems that are running in production right now without any problems.

Here is the config.out file.

Configuration on Mon May 16 15:17:12 PDT 2016:

   Host:             x86_64-unknown-linux-gnu -- redhat
   Bacula version:         Bacula 5.2.13 (19 February 2013)
   Source code location:     .
   Install binaries:         /usr/bacula/bin
   Install libraries:         /usr/lib64
   Install config files:     /usr/bacula/bin
   Scripts directory:         /usr/bacula/bin
   Archive directory:         /tmp
   Working directory:         /usr/bacula/bin/working
   PID directory:         /var/run/bacula
   Subsys directory:         /var/run/bacula/working
   Man directory:         ${datarootdir}/man
   Data directory:         /usr/share
   Plugin directory:         /usr/lib64
   C Compiler:             gcc 4.4.7
   C++ Compiler:         /usr/bin/g++ 4.4.7
   Compiler flags:          -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti
   Linker flags:         
   Libraries:             -lpthread -ldl -ldl
   Statically Linked Tools:  no
   Statically Linked FD:     no
   Statically Linked SD:     no
   Statically Linked DIR:    no
   Statically Linked CONS:   no
   Database backends:         MySQL
   Database port:         
   Database name:         bacula
   Database user:         bacula

   Job Output Email:         name AT domain DOT com
   Traceback Email:         name AT domain DOT com
   SMTP Host Address:         mail.domain.com

   Director Port:         9101
   File daemon Port:         9102
   Storage daemon Port:      9103

   Director User:        
   Director Group:        
   Storage Daemon User:     
   Storage DaemonGroup:     
   File Daemon User:        
   File Daemon Group:        

   Large file support:         yes
   Bacula conio support:     no
   readline support:         no
   TCP Wrappers support:     no
   TLS support:          no
   Encryption support:         no
   ZLIB support:         no
   LZO support:          no
   enable-smartalloc:         yes
   enable-lockmgr:         no
   bat support:          no
   enable-gnome:         no
   enable-bwx-console:         no
   enable-tray-monitor:      no
   client-only:          no
   build-dird:             yes
   build-stored:         yes
   Plugin support:         yes
   AFS support:          no
   ACL support:          no
   XATTR support:         yes
   Python support:         no
   systemd support:         no
   Batch insert enabled:     None

  What am I missing?

thanks

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users