← Back to team overview

duplicity-team team mailing list archive

Re: [Question #684523]: ImportError: librsync.so.1: cannot open shared object file

 

Question #684523 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/684523

    Status: Answered => Open

Ashish Ranjan is still having a problem:
So, I repeated the above installation steps, and instead of
./compilec.py, I ran,

$ ./setup.py install

It ran build scripts and copied stuff into the appropriate .venv
directories. A complete dump of this command is provided at
https://privatebin.net/?5bfbb987d3f66345#GT1VgdFBJkVGb1HkX9B7oC5nHDbkva7R2oDChTRQtset

Then I ran,

$ PYTHONPATH=".venv/lib/python3.7/site-packages" ./bin/duplicity .
gdocs://username@xxxxxxxxx/backups/duplicity

It still gives the same error. 
Also, I'm unable to find librsync.so anywhere in the .venv directory. (I'm using https://github.com/sharkdp/fd as an alternative to the find command).

$ fd -H librsync

.venv/lib/python3.7/site-packages/duplicity/__pycache__/librsync.cpython-37.pyc
.venv/lib/python3.7/site-packages/duplicity/_librsync.cpython-37m-x86_64-linux-gnu.so
.venv/lib/python3.7/site-packages/duplicity/librsync.py
build/lib.linux-x86_64-3.7/duplicity/_librsync.cpython-37m-x86_64-linux-gnu.so
build/lib.linux-x86_64-3.7/duplicity/librsync.py
build/temp.linux-x86_64-3.7/duplicity/_librsyncmodule.o
docs/duplicity.librsync.rst
duplicity/__pycache__/librsync.cpython-37.pyc
duplicity/_librsyncmodule.c
duplicity/librsync.py

-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.