hi again

IEM - network operating center wrote:
> 
> - on my woody boxes i would only need the filedaemon; i guess the
> simplest thing would be to create a debian-package for bacula-fd-static
> with no dependencies (rather than trying to compile bacula-2 on woody)

hmm, this seems to be a bit too naive an approach.


i configure bacula like this:


./configure --config-cache                 --host=i486-linux-gnu
--build=i486-linux-gnu                 --prefix=/usr
--sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts
      --sharedstatedir=/var/lib/bacula
--localstatedir=/var/lib/bacula
--with-pid-dir=/var/run/bacula --with-smtp-host=localhost
  --with-working-dir=/var/lib/bacula
--with-subsys-dir=/var/lock
--mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info \
--enable-client-only --enable-static-fd

(i know that this is a bit crammed; however i try to use the existing
debian building infrastructure as much as possible)
the important line is the last one (according to the manual)

compilation succeeds, but that the resultant bacula-fd is very much
dynamically linked:
~> ldd src/filed/bacula-fd
        linux-gate.so.1 =>  (0xffffe000)
        libacl.so.1 => /lib/libacl.so.1 (0xb7f9b000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7f87000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f74000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e95000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e70000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e65000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d34000)
        libattr.so.1 => /lib/libattr.so.1 (0xb7d30000)
        /lib/ld-linux.so.2 (0xb7fc0000)

obivously i cannot use this binary to run on other machines with other
libraries installed.

have i misunderstood the "static" linkage of bacula-fd?
am i doing something wrong (like having the wrong libraries installed)?

and finally: the configure script correctly detects that i have libacl
installed on my machine. is there a way to _disable_ the acl-support via
configure-flags?

mfga.drs
IOhannes

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to