Good morning,
"error while loading shared libraries: libmysqlclient_r.so.15: cannot
open shared object file: No such file or directory"
I'm installing bacula for the very first time and I've worked through
the instructions up to starting the application. When I attempt to
start it, Bacula can't find libmysqlclient_r.so.15, even though the
bacula configuration details about the mysql lib location seem clear
to me (see below).
I installed a mysql tarball in the default basedir location
/usr/local/mysql and confirmed that mysql/lib contains the
libmysqlclient files. I'm missing something, probably right under my
nose....
I'd appreciate suggestions on troubleshooting this problem. I'm
looking forward to trying out this software; it's time to trade up
from rsync.
Many thanks,
Ian Butler
++
host info: bacula 2.0.3, mysql 5.0.41, Redhat EL 4
command line sequence:
$ cd ~/bacula/bin
$ ./bacula start
Starting the Bacula Storage daemon
Starting the Bacula File daemon
Starting the Bacula Director daemon
/home/ibutler/bacula/bin/bacula-dir: error while loading shared
libraries: libmysqlclient_r.so.15: cannot open shared object file: No
such file or directory
Most recent bacula configuration:
Configuration on Wed May 30 15:07:55 CDT 2007:
Host: i686-pc-linux-gnu -- redhat Enterprise release
Bacula version: 2.0.3 (06 March 2007)
Source code location: .
Install binaries: /home/ibutler/bacula/bin
Install config files: /home/ibutler/bacula/bin
Scripts directory: /home/ibutler/bacula/bin
Working directory: /home/ibutler/bacula/bin/working
PID directory: /home/ibutler/bacula/bin/working
Subsys directory: /home/ibutler/bacula/bin/working
Man directory: ${datarootdir}/man
Data directory: ${prefix}/share
C Compiler: gcc 3.4.6
C++ Compiler: /usr/bin/g++ 3.4.6
Compiler flags: -g -Wall -fno-strict-aliasing
-fno-exceptions -fno-rtti
Linker flags: -O
Libraries: -lpthread
Statically Linked Tools: no
Statically Linked FD: no
Statically Linked SD: no
Statically Linked DIR: no
Statically Linked CONS: no
Database type: MySQL
Database lib: -L/usr/local/mysql/lib -lmysqlclient_r -lz
Job Output Email: root < at > localhost
Traceback Email: root < at > localhost
SMTP Host Address: localhost
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:
SQL binaries Directory /usr/local/mysql/bin
Large file support: yes
Bacula conio support: yes -ltermcap
readline support: no
TCP Wrappers support: no
TLS support: no
Encryption support: no
ZLIB support: yes
enable-smartalloc: yes
enable-gnome: no
enable-wx-console: no
enable-tray-monitor:
client-only: no
build-dird: yes
build-stored: yes
ACL support: no
Python support: no
++
