Bacula-users

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

2010-01-13 09:37:06
Subject: Re: [Bacula-users] static bacula-fd for FreeBSD disaster recovery
From: G VM <drums_gvm AT hotmail DOT com>
To: <martin AT lispworks DOT com>
Date: Wed, 13 Jan 2010 15:34:16 +0100
Martin Simmons wrote:
>>>>>> 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
>
>
>
file static-bacula-fd
static-bacula-fd: ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), for FreeBSD 7.2, statically linked, FreeBSD-style, stripped

In the wiki (for 2.x.x) there was a list with a few libraries in the ldd
output and this confused me. Seems ok.

Thanks alot!

------------------------------------------------------------------------------
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