SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
[bacula-users] libmysqlclient_r.so.15 path: no such file or
Author Message
Post [bacula-users] libmysqlclient_r.so.15 path: no such file or 
On 6/5/07, Martin Simmons <martin < at > li...> wrote:
On Tue, 5 Jun 2007 10:58:59 -0500, Ian Butler said:

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

Try setting LD_LIBRARY_PATH to /usr/local/mysql/lib. For a permanent
solution, you'll might need to update /etc/ld.so.conf and run ldconfig (though
whatever installed mysql should probably have done that).

__Martin


Martin,

Added to .bash_profile: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/mysql/lib/
export LD_LIBRARY_PATH

The Director daemon now starts, thank you for the tip. There's no
mysql entry in ld.so.conf, but I'll work on that.

Ian

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB