On Wed, Feb 17, 2010 at 09:22:10AM +0100, Ralf Gross wrote:
> Hm, I just installed my self build/compiled bacula 3.0.3 version
> again (debian deb package).
> 
> On the dir:
> 
> $find /usr/lib -name libbac* -print0 | xargs -0 ls -cl
> -rw-r--r-- 1 root root    923 17. Feb 09:09 /usr/lib/bacula/libbaccfg.la
> lrwxrwxrwx 1 root root     18 17. Feb 09:09 /usr/lib/bacula/libbaccfg.so -> 
> libbaccfg.so.1.0.0
> lrwxrwxrwx 1 root root     18 17. Feb 09:09 /usr/lib/bacula/libbaccfg.so.1 -> 
> libbaccfg.so.1.0.0
> -rw-r--r-- 1 root root  32848 17. Feb 09:09 /usr/lib/bacula/libbaccfg.so.1.0.0
> -rw-r--r-- 1 root root    929 17. Feb 09:09 /usr/lib/bacula/libbacfind.la
> lrwxrwxrwx 1 root root     19 17. Feb 09:09 /usr/lib/bacula/libbacfind.so -> 
> libbacfind.so.1.0.0
> lrwxrwxrwx 1 root root     19 17. Feb 09:09 /usr/lib/bacula/libbacfind.so.1 
> -> libbacfind.so.1.0.0
> -rw-r--r-- 1 root root  50512 17. Feb 09:09 
> /usr/lib/bacula/libbacfind.so.1.0.0
> -rw-r--r-- 1 root root    912 17. Feb 09:09 /usr/lib/bacula/libbac.la
> -rw-r--r-- 1 root root    956 17. Feb 09:09 /usr/lib/bacula/libbacpy.la
> lrwxrwxrwx 1 root root     17 17. Feb 09:09 /usr/lib/bacula/libbacpy.so -> 
> libbacpy.so.1.0.0
> lrwxrwxrwx 1 root root     17 17. Feb 09:09 /usr/lib/bacula/libbacpy.so.1 -> 
> libbacpy.so.1.0.0
> -rw-r--r-- 1 root root  15672 17. Feb 09:09 /usr/lib/bacula/libbacpy.so.1.0.0
> lrwxrwxrwx 1 root root     15 17. Feb 09:09 /usr/lib/bacula/libbac.so -> 
> libbac.so.1.0.0
> lrwxrwxrwx 1 root root     15 17. Feb 09:09 /usr/lib/bacula/libbac.so.1 -> 
> libbac.so.1.0.0
> -rw-r--r-- 1 root root 336776 17. Feb 09:09 /usr/lib/bacula/libbac.so.1.0.0
> -rw-r--r-- 1 root root    947 12. Feb 14:52 /usr/lib/bacula/libbacsql.la
> lrwxrwxrwx 1 root root     18 12. Feb 14:52 /usr/lib/bacula/libbacsql.so -> 
> libbacsql.so.1.0.0
> lrwxrwxrwx 1 root root     18 12. Feb 14:52 /usr/lib/bacula/libbacsql.so.1 -> 
> libbacsql.so.1.0.0
> -rw-r--r-- 1 root root 122864 12. Feb 14:52 /usr/lib/bacula/libbacsql.so.1.0.0

Your problem is the /usr/lib/bacula/libbacsql.so.1.0.0 which is from 12 Feb and 
not 17 Feb
I would copy the one from the src dir. That also explains the error as the 
symbol you
have problems with almost certainly comes from that lib.
> 
> 
> How can I see that these are the right files?

At least all .la and .so.1.0.0 should be of the same date.
We switched to release numbering for 5.0.1 and 5.1.x because of this rather 
obscure
feature as symbols tend to change in C++ on rebuild if the arguments change on 
a function
and it more or less implies you change the interface. So one thing to keep in 
mind is
that libs should always be in sync with your binaries.

> 
> 
> 
> > > I've set the debug level on the client to 200, the debug log file is 
> > > created but empty.
> > > 
> > > I read Kaboom chapter in the manual but I can't get it to work on the dir.
> > > Before I put more time in this problem, is there anything obvious in the 
> > > dir
> > > debug output (well, it's not that much...)? 
> > Debugging this much further doesn't solve anything make sure your libraries 
> > are ok or
> > compile using --disable-libtool and get shared libraries out of the 
> > equation.
> 
> Will try this next, thanks for your help.
That will disable shared libs but you end up with larger binaries etc. 
Replacing the 
/usr/lib/bacula/libbacsql.so.1.0.0 should solve the problem you are seeing.

Marco

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to