Bacula-users

Re: [Bacula-users] compiling static

2011-01-13 15:59:16
Subject: Re: [Bacula-users] compiling static
From: Josh Fisher <jfisher AT pvct DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 13 Jan 2011 15:41:49 -0500
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

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