Re: Error: librsync support

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>

On 01/05/2021 16:59, imschmeg wrote:
> On Sat, 1 May 2021 11:26:29 +0200
> Denis Corbin <[email protected]> wrote:
> 
>> On 01/05/2021 10:41, Denis Corbin wrote:
>> [...]
>>>>
>>>> My plan is to build dar_static with librsync, and store a copy
>>>> with the backup (with par2 protection).  
>>
>> I missed indicating you that there is pre-build dar-static binaries
>> with all options active, available at:
>>
>> https://dar.edrusb.org/dar.linux.free.fr/Releases/Dar_static/
>>
>> These binaries just expect a Linux kernel and a x86_64 processor.
>>
> 
> Thanks!  That's great!  I was already having other problems with the
> build, like needing a static librsync, which I would also have to build.
> 
> Why is dar_static_2.6.14_x86_64_GNU_Linux >2.5x bigger than the other
> versions?  Is it the most complete in terms of capabilities?

This is an excellent question! Digging into this details, it stands that
the dar_static_2.6.14 binary had still its symbol table (in other words
binary was stripped).

I have rebuilt it properly and it has an equivalent size as the other ones.

Note that in documentation the recommended last stage of installation is
"make install-strip" not "make install" precisely for that reason:
avoiding such bigger binaries (there is no noticeable difference in
performance).

> 
> 
>
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.