On 6/5/07, Martin Simmons <[EMAIL PROTECTED]> 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

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to