duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Problem loading librsync lib module


From: Scott Hannahs
Subject: Re: [Duplicity-talk] Problem loading librsync lib module
Date: Thu, 25 Jun 2020 09:24:01 -0400

There is a fink package to install all the correct libraries under OS X.  I am 
updating that to Duplicity 8 and a newer python, but the current version should 
be working.  And a lot easier than manually installing things.

fink-project.org

-Scott


> On Jun 24, 2020, at 2:42 PM, MRob via Duplicity-talk 
> <duplicity-talk@nongnu.org> wrote:
> 
> Hello,
> Im trying to instal duplicity on old OS. Must do manual install librsync and 
> old version of duplicity.
> librsync is in /usr/local/lib
> When run duplicity get this error:
> 
> File "/usr/local/lib/python2.7/dist-packages/duplicity/librsync.py", line 30, 
> in <module>
>    from . import _librsync
> ImportError: librsync.so.2: cannot open shared object file: No such file or 
> directory
> 
> I know its not right solution but I tried copy /usr/local/lib/librsync.so  
> (NOT librsync.so.2) into the duplicity install dir then I get this error:
> 
> File "/usr/local/lib/python2.7/dist-packages/duplicity/path.py", line 44, in 
> <module>
>    from duplicity import librsync
> ImportError: dynamic module does not define init function (initlibrsync)
> 
> I also try go to duplicity source dir and execute compilec.py -- it's 
> successful build, so I copy _librsync.so into duplictiy install dir but makes 
> no difference.
> 
> Also tried install duplicity with
> python setup.py install --librsync-dir=/usr/local/lib
> But does not help
> 
> I know its old version but can i ask for some tip how i could face this 
> error? Thank you!
> 
> _______________________________________________
> Duplicity-talk mailing list
> Duplicity-talk@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/duplicity-talk




reply via email to

[Prev in Thread] Current Thread [Next in Thread]