On 4/2/06, DAve <[EMAIL PROTECTED]> wrote:
Dave wrote:
> Hello,
>    I've got a FreeBSD6 server running the latest bacula port 1.38.6, i
> love the new startup scripts thank you! The following problem is not
> specific to this version of bacula, i've noticed it since i went to 1.38
> though i'm reluctant to say it is a bug it's probably some minor tweak
> in my box that hasn't been done. WHen i compiled the bacula install i
> linked against mysql 4.18, and i've got all that working and life is
> good. My problem is whenever this box has to reboot and it's not often
> the bacula director can not start, it is missing the libmysqlclient
> shared library, an ldd of the binary shows that it does not know where
> the lib is. I've confirmed that the library is in fact there, the
> problem is corrected by me logging in to the box and doing:
> ldconfig /usr/local/lib/mysql
> and then loading the bacula director, all is well after that. I'm
> wondering if anyone can tell me why this variable isn't getting set on
> boot so bacula-dir can't find it?
> Thanks.
> Dave.

I've had this problem on many ports in FreeBSD 5.X (never on 4.X , not
tried 6.X yet). Try merging the mysql lib dir again,

ldconfig -Rm /usr/local/lib/mysql

Then recheck to make sure it is there,

ldconfig -r

Once done you shouldn't have to do it again.

DAve


--
This message was checked by forty monkeys and
found to not contain any SPAM whatsoever.

Your monkeys may vary


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


  If i remeber on FreeBSD 5.4-pX and mysql40, like Dan say check /etc/rc.conf

   ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib /path/to/mysql-library"

  Try to add the path of the library.

  I have not yet test bacula server on freebsd 6.0, this week i will give i try, but i have running the mysql50 server there with no problems, if you are testing i think you better try.

  On freebsd 5.4-p10(yes, i need to update) is running very good, but again mysql 5.018.

  Greetings.

Reply via email to