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:
n...@domain.com
Traceback Email:
n...@domain.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