Hi
I have a offsite NAS that will be my backup server - it reaches out and pulls data from the unraid box using rdiff-backup. However, both machine require the rdiff-backup program installed - I got it running on the remote machine, but have hit a wall trying to get it onto the unraid box.
root@unraid:~# pip3 install rdiff-backup
Collecting rdiff-backup
Using cached rdiff-backup-2.0.5.tar.gz (456 kB)
Requirement already satisfied: setuptools in /usr/lib64/python3.9/site-packages (from rdiff-backup) (63.2.0)
Using legacy 'setup.py install' for rdiff-backup, since package 'wheel' is not installed.
Installing collected packages: rdiff-backup
Running setup.py install for rdiff-backup ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cmxy5xl5/rdiff-backup_985e6dfcedc44e439cdd253ac4d5537f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cmxy5xl5/rdiff-backup_985e6dfcedc44e439cdd253ac4d5537f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-yiw55yzo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/rdiff-backup
cwd: /tmp/pip-install-cmxy5xl5/rdiff-backup_985e6dfcedc44e439cdd253ac4d5537f/
Complete output (59 lines):
/usr/lib64/python3.9/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
WARNING: The wheel package is not available.
running install
/usr/lib64/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running build_templates
templating tools/rdiff-backup.spec.template -> build/rdiff-backup.spec
creating build
templating tools/rdiff-backup.spec.template-fedora -> build/rdiff-backup.fedora.spec
templating docs/rdiff-backup.1 -> build/rdiff-backup.1
templating docs/rdiff-backup-statistics.1 -> build/rdiff-backup-statistics.1
creating build/lib.linux-x86_64-cpython-39
creating build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/win_acls.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/increment.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/Security.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/log.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/connection.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/librsync.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/manage.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/eas_acls.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/TempFile.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/longname.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/Rdiff.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/Globals.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/robust.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/selection.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/restore.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/backup.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/rorpiter.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/iterfile.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/SetConnections.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/user_group.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/Time.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/regress.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/FilenameMapping.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/__init__.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/metadata.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/Main.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/Hardlink.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/fs_abilities.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/hash.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/statistics.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/rpath.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
copying src/rdiff_backup/compare.py -> build/lib.linux-x86_64-cpython-39/rdiff_backup
running build_ext
building 'rdiff_backup.C' extension
creating build/temp.linux-x86_64-cpython-39
creating build/temp.linux-x86_64-cpython-39/src
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/include/python3.9 -c src/cmodule.c -o build/temp.linux-x86_64-cpython-39/src/cmodule.o
/usr/libexec/gcc/x86_64-slackware-linux/9.2.0/cc1: error while loading shared libraries: libisl.so.22: cannot open shared object file: No such file or directory
error: command '/usr/bin/gcc' failed with exit code 1
----------------------------------------
ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-cmxy5xl5/rdiff-backup_985e6dfcedc44e439cdd253ac4d5537f/setup.py'"'"'; __file__='"'"'/tmp/pip-install-cmxy5xl5/rdiff-backup_985e6dfcedc44e439cdd253ac4d5537f/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-yiw55yzo/install-record.txt --single-version-externally-managed --compile --install-headers /usr/include/python3.9/rdiff-backup Check the logs for full command output.
root@unraid:~# ls -l
Clearly missing the libisl.so library file - but I can't find it anywhere.
How can I install either rdiff-backup or the missing file?
Thanks.