[Borgbackup] pip install failed

Alberto Luaces borgbackup at aluaces.fastmail.com
Sun Sep 11 15:19:25 EDT 2022


Thorsten Schöning <tschoening at am-soft.de> writes:

> Guten Tag Boris Kirkorowicz,
> am Sonntag, 11. September 2022 um 19:27 schrieben Sie:
>
>>>       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: /lib64/ld-linux-x86-64.so.2: unknown type [0x13] section `.relr.dyn'
>>>       /usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib64/ld-linux-x86-64.so.2 when searching for /lib64/ld-linux-x86-64.so.2
>>>       collect2: Fehler: ld gab 1 als Ende-Status zurück
>
> You need to update ld or binutils if possible. Your version simply
> doesn't support how some system libraries seem to look like. No idea
> how those have been built, but maybe using lld instead of ld?
>
> Your issue is known for different projects and things heavily depend
> on how things are suppsed to work in the first place for your distro.
> Have no idea...
>
> https://github.com/chromebrew/chromebrew/issues/2563#issuecomment-418110227
> https://github.com/chromebrew/chromebrew/issues/2563#issuecomment-478332209

What about installing wheels?  pip has an option for downloading
already-compiled binary packages, so those local building problems could
be avoided.

You just install the "wheel" package first, and then try to install borg
again:

pip install wheel
pip install borgbackup

Reference: https://roman.pt/posts/optimize-pip-install-with-wheels/


More information about the Borgbackup mailing list