[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] Duplicity as a static binary
From: |
Benjamin Henrion |
Subject: |
Re: [Duplicity-talk] Duplicity as a static binary |
Date: |
Tue, 5 Jan 2016 13:54:31 +0100 |
On Mon, Dec 28, 2015 at 6:25 AM, Remy van Elst <address@hidden> wrote:
> Howdy,
>
> I've got an older system (centos 4) where I'd like to run Duplicity to
> make backups. Is there a way to "convert" duplicity, python 2.7.x and
> the swift/keystone libs to a (single) static binary so it can run there?
I recommend you using MUSLibc instead of Glibc because those Glibc
devs decided to make static binary a broken feature.
I recently stuggled to make a static binary for malamute:
https://github.com/zoobab/malamute/blob/master/builds/static/Dockerfile
The 2 important changes here are:
./configure --disable-shared
make LDFLAGS="-all-static -s"
Best,
--
Benjamin Henrion <bhenrion at ffii.org>
FFII Brussels - +32-484-566109 - +32-2-3500762
"In July 2005, after several failed attempts to legalise software
patents in Europe, the patent establishment changed its strategy.
Instead of explicitly seeking to sanction the patentability of
software, they are now seeking to create a central European patent
court, which would establish and enforce patentability rules in their
favor, without any possibility of correction by competing courts or
democratically elected legislators."