Bacula-users

Re: [Bacula-users] static bacula-fd for FreeBSD disaster recovery

2010-01-13 09:26:21
Subject: Re: [Bacula-users] static bacula-fd for FreeBSD disaster recovery
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 13 Jan 2010 14:23:31 GMT
>>>>> On Wed, 13 Jan 2010 15:01:28 +0100, G VM said:
> 
> I have put this in /etc/make.conf:.
> if $(.CURDIR:M*/sysutils/bacula-client) || \
>   $(.CURDIR:M*/sysutils/bacula-client)
> CONFIGURE_ARGS+=--disable-libtool
> .endif
> 
> When doing:
> make config
> I selected SFDAEMON.
> After compilation I got a static-bacula-fd of about 2MB.
> when I do:
> ldd static-bacula-fd
> ldd: static-bacula-fd: not a dynamic ELF executable
> I expected to see a few libraries.
> Are there absolutely no libraries needed now?
> Or is something wrong here?

That is the definition of static -- libc etc are built into it, so there are
no libraries needed.  It is like /sbin/init and the files in /rescue.

This command should show that it is statically linked:

file static-bacula-fd

__Martin

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users