On 10 Feb 2006 at 16:04, Dave wrote:

> Hello,
> Thank you for your reply. I have not done any portupgrades within the last 
> two or three days. The bacula-dir i did the ldd on was located in 
> /usr/local/sbin.

Did you see the rest of what I said?   I found differences.

> ----- Original Message ----- 
> From: "Dan Langille" <[EMAIL PROTECTED]>
> To: "Dave" <[EMAIL PROTECTED]>
> Cc: <bacula-users@lists.sourceforge.net>
> Sent: Friday, February 10, 2006 1:49 PM
> Subject: Re: [Bacula-users] bacula-dir not finding mysql-dependent library
> 
> 
> > On 10 Feb 2006 at 13:22, Dave wrote:
> >
> >> Hello,
> >>     I'm running a bacula server on Freebsd6. This was working yesterday, 
> >> yet
> >> this morning when i checked my nightly emails no backups. I checked on 
> >> the
> >> server and found that the director had stopped. I tried to start it and 
> >> was
> >> told libmysqlclient_so_14 wasn't found as required by the director. I 
> >> then
> >> compared my /usr/local/lib/mysql area with another box, found them
> >> identical. It looks as if bacula-dir isn't finding a library and i'm not
> >> sure why. Any help appreciated.
> >
> > Did you upgrade something between the last time you started bacula-
> > dir and yesterday?  Something changed.
> >
> >
> >> The specific error is:
> >>
> >> #bacula-dir
> >> /libexec/ld-elf.so.1: Shared object "libmysqlclient_r.so.14" not found,
> >> required by "bacula-dir"
> >>
> >> Here's a check of the libs bacula-dir is using:
> >>
> >> #ldd `which bacula-dir`
> >
> > Which bacula-dir is that?
> >
> > I just build bacula and include the specs from my machine.  There are
> > differences.
> >
> >
> >> /usr/local/sbin/bacula-dir:
> >>  libmysqlclient_r.so.14 => not found (0x0)
> >>  libz.so.3 => /lib/libz.so.3 (0x280f6000)
> >>  libpthread.so.2 => /usr/lib/libpthread.so.2 (0x28107000)
> >>  libxpg4.so.3 => /usr/lib/libxpg4.so.3 (0x2812d000)
> >>  libintl.so.6 => /usr/local/lib/libintl.so.6 (0x2812f000)
> >>  libwrap.so.4 => /usr/lib/libwrap.so.4 (0x28139000)
> >>  libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28141000)
> >>  libm.so.4 => /lib/libm.so.4 (0x2821e000)
> >>  libc.so.6 => /lib/libc.so.6 (0x28238000)
> >>  libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x2831d000)
> >
> > # which bacula-dir
> > /usr/local/sbin/bacula-dir
> > [EMAIL PROTECTED]:/usr/ports/sysutils/bacula-server] # ldd 
> > /usr/local/sbin/bacula-dir
> > /usr/local/sbin/bacula-dir:
> >        libmysqlclient_r.so.14 => 
> > /usr/local/lib/mysql/libmysqlclient_r.so.14 (0x280e0000)
> >        libz.so.3 => /lib/libz.so.3 (0x28134000)
> >        libpthread.so.2 => /usr/lib/libpthread.so.2 (0x28144000)
> >        libintl.so.6 => /usr/local/lib/libintl.so.6 (0x28169000)
> >        libwrap.so.4 => /usr/lib/libwrap.so.4 (0x28172000)
> >        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x28179000)
> >        libm.so.4 => /lib/libm.so.4 (0x28243000)
> >        libc.so.6 => /lib/libc.so.6 (0x28259000)
> >        libcrypt.so.3 => /lib/libcrypt.so.3 (0x28330000)
> >        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x28348000)
> > [EMAIL PROTECTED]:/usr/ports/sysutils/bacula-server] #
> >
> >
> >
> >>
> >> And a directory listing:
> >>
> >> l *
> >> -r--r--r--  1 root  wheel   11026 Dec 29 21:00 libdbug.a
> >> -r--r--r--  1 root  wheel   42852 Dec 29 21:00 libheap.a
> >> -r--r--r--  1 root  wheel   14008 Dec 29 21:00 libmerge.a
> >> -r--r--r--  1 root  wheel  338160 Dec 29 21:00 libmyisam.a
> >> -r--r--r--  1 root  wheel   25790 Dec 29 21:00 libmyisammrg.a
> >> -rw-r--r--  1 root  wheel  198928 Feb 10 13:19 libmysqlclient.a
> >> lrwxr-xr-x  1 root  wheel      20 Jan 13 19:54 libmysqlclient.so ->
> >> libmysqlclient.so.14
> >> -rwxr-xr-x  1 root  wheel  146202 Feb 10 13:19 libmysqlclient.so.12
> >> -rwxr-xr-x  1 root  wheel  146202 Feb 10 13:19 libmysqlclient.so.14
> >> -rw-r--r--  1 root  wheel  206146 Feb 10 13:19 libmysqlclient_r.a
> >> lrwxr-xr-x  1 root  wheel      22 Jan 13 19:54 libmysqlclient_r.so ->
> >> libmysqlclient_r.so.14
> >> -rwxr-xr-x  1 root  wheel  151808 Feb 10 13:19 libmysqlclient_r.so.12
> >> -rwxr-xr-x  1 root  wheel  151808 Feb 10 13:19 libmysqlclient_r.so.14
> >> -r--r--r--  1 root  wheel  228500 Dec 29 21:00 libmystrings.a
> >> -r--r--r--  1 root  wheel  255150 Dec 29 21:00 libmysys.a
> >> -r--r--r--  1 root  wheel  106784 Dec 29 21:00 libnisam.a
> >> -r--r--r--  1 root  wheel    6284 Dec 29 21:00 libvio.a
> >
> > [EMAIL PROTECTED]:/usr/local/lib/mysql] # ls -l
> > total 2720
> > -r--r--r--  1 root  wheel   10094 Feb  4 09:52 libdbug.a
> > -r--r--r--  1 root  wheel   39764 Feb  4 09:52 libheap.a
> > -r--r--r--  1 root  wheel   13416 Feb  4 09:52 libmerge.a
> > -r--r--r--  1 root  wheel  310428 Feb  4 09:52 libmyisam.a
> > -r--r--r--  1 root  wheel   24786 Feb  4 09:52 libmyisammrg.a
> > -rw-r--r--  1 root  wheel  442738 Feb  4 09:46 libmysqlclient.a
> > lrwxr-xr-x  1 root  wheel      20 Feb  4 09:46 libmysqlclient.so -> 
> > libmysqlclient.so.14
> > -rwxr-xr-x  1 root  wheel  373125 Feb  4 09:46 libmysqlclient.so.14
> > -rw-r--r--  1 root  wheel  449562 Feb  4 09:46 libmysqlclient_r.a
> > lrwxr-xr-x  1 root  wheel      22 Feb  4 09:46 libmysqlclient_r.so -> 
> > libmysqlclient_r.so.14
> > -rwxr-xr-x  1 root  wheel  378646 Feb  4 09:46 libmysqlclient_r.so.14
> > -r--r--r--  1 root  wheel  222276 Feb  4 09:52 libmystrings.a
> > -r--r--r--  1 root  wheel  241098 Feb  4 09:52 libmysys.a
> > -r--r--r--  1 root  wheel   97208 Feb  4 09:52 libnisam.a
> > -r--r--r--  1 root  wheel    6064 Feb  4 09:52 libvio.a
> > [EMAIL PROTECTED]:/usr/local/lib/mysql] #
> >
> >>
> >> #pkg_info|grep mysql
> >> mysql-client-4.1.16_1 Multithreaded SQL database (client)
> >> mysql-server-4.1.16 Multithreaded SQL database (server)
> >> php4-mysql-4.4.2_1  The mysql shared extension for php
> >
> > # pkg_info | grep mysql
> > mysql-client-4.1.16_1 Multithreaded SQL database (client)
> > mysql-server-4.1.16 Multithreaded SQL database (server)
> > php4-mysql-4.4.2_1  The mysql shared extension for php
> >
> >>
> >> #pkg_info|grep bacula
> >> bacula-client-1.38.5_1 The network backup solution (client)
> >> bacula-server-1.38.5_1 The network backup solution (server)
> >
> > # pkg_info | grep bacula
> > bacula-client-1.38.5_1 The network backup solution (client)
> > bacula-server-1.38.5_1 The network backup solution (server)
> >
> >
> > -- 
> > Dan Langille : Software Developer looking for work
> > my resume: http://www.freebsddiary.org/dan_langille.php
> > 
> 
> 



-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to