Bacula-users

Re: [Bacula-users] FreeBSD Bare Metal Recovery

2009-02-18 15:32:37
Subject: Re: [Bacula-users] FreeBSD Bare Metal Recovery
From: "Pieter (NL)" <pietersnld AT users.sourceforge DOT net>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 18 Feb 2009 12:30:08 -0800 (PST)

Doug Sampson wrote:
> 
>> >>>>> On Wed, 11 Feb 2009 16:34:16 -0800, Doug Sampson said:
>> > 
>> > I poked around some more. I discovered the 'ldd' command 
>> which shows the
>> > libraries used/required by bacula-fd as follows:
>> > 
>> > root@pisces:/root# ldd /usr/local/sbin/bacula-fd
>> > /usr/local/sbin/bacula-fd:
>> >         libz.so.4 => /lib/libz.so.4 (0x280c6000)
>> >         libthr.so.3 => /lib/libthr.so.3 (0x280d8000)
>> >         libintl.so.8 => /usr/local/lib/libintl.so.8 (0x280ea000)
>> >         libwrap.so.5 => /usr/lib/libwrap.so.5 (0x280f3000)
>> >         libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x280fa000)
>> >         libssl.so.5 => /usr/lib/libssl.so.5 (0x281ef000)
>> >         libcrypto.so.5 => /lib/libcrypto.so.5 (0x2822f000)
>> >         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x2837e000)
>> >         libm.so.5 => /lib/libm.so.5 (0x2846d000)
>> >         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x28482000)
>> >         libc.so.7 => /lib/libc.so.7 (0x2848c000)
>> >            
> 
Found a few ways to create a static-fd (i think)

run make configure in /usr/ports/sysutils/bacula-client
write down (copy) the configure command with all the argument from
config.log in the work/bacula-2.4.4 dir
run make clean in /usr/ports/sysutils/bacula-client
now run make extract, make path and cd into work/bacula-2.4.4 and run the
copied configure command with all the arguments and add --enable-static-fd
to the line
run make and a static-bacula-fd is in src/filed directory.

run make in /usr/ports/sysutils/bacula-client
cd into  work/bacula-2.4.4/src/filed and run make static-bacula-fd

ldd static-bacula-fd
static-bacula-fd:
        libintl.so.8 => /usr/local/lib/libintl.so.8 (0x281e3000)
        libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281ec000)


don't know if it will work dont have the resources to try it right now.

Pieter
-- 
View this message in context: 
http://www.nabble.com/FreeBSD-Bare-Metal-Recovery-tp21945778p22087528.html
Sent from the Bacula - Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users