Bacula-users

Re: [Bacula-users] compiling static

2011-01-13 16:07:08
Subject: Re: [Bacula-users] compiling static
From: Guy <guy AT britewhite DOT net>
To: Josh Fisher <jfisher AT pvct DOT com>
Date: Thu, 13 Jan 2011 21:05:47 +0000
Thanks for that... I just wanted to reduce the number files I needed to install 
on the NAS as it's now different from standard install which might cause issues 
later.  I think your right those and I'll have to build a package for e NAS 
which has all the libraries included.

---Guy

Sent from my iPad

On 13 Jan 2011, at 20:41, Josh Fisher <jfisher AT pvct DOT com> wrote:

> 
> On 1/10/2011 3:05 PM, Guy wrote:
>> Hi all,
>> 
>> I've been trying to make this work for the last two days..
>> 
>> I have a Thus NAS system which is running linux (sort of).  I would like to 
>> compile bacula-sd and vchanger static so that I can push those two binaries 
>> on to it and make it into a dedicated Virtual Tape store.
>> 
> 
> The Makefile for vchanger is not setup for static linking. You will have 
> to compile by hand using g++ with -static flag placed before any library 
> related flags. You will have to locate static versions of the libuuid 
> and libblkid libraries.
> 
> But why is static linking necessary? If the NAS box runs Linux, surely 
> it is using dynamic libraries. Why not push the needed dynamic libraries 
> to the NAS, rather than a statically linked bacula-sd and vchanger?
> 
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand 
> malware threats, the impact they can have on your business, and how you 
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>