[Top][All Lists]

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

[rdiff-backup-users] librsync.so and _librsync.so

From: Dominic Raferd
Subject: [rdiff-backup-users] librsync.so and _librsync.so
Date: Wed, 15 Dec 2010 14:16:24 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20101207 Thunderbird/3.1.7

Can anyone explain the relationship between /usr/lib/librsync.so, and /usr/local/lib/python2.6/dist-packages/rdiff_backup/_librsync.so?

They are not the same:
  • /usr/lib/librsync.so is symlinked to /usr/lib/librsync.so.1.0.2 which is 46612 bytes, and I think came via apt-get install librsync-dev
  • /usr/local/lib/python2.6/dist-packages/rdiff_backup/_librsync.so is 30110 bytes, is located in my rdiff-backup installation location, and seems to have come with rdiff-backup in the tarfile
Both Rdiff.py and robust.py import librsync [i.e. librsync.py?], and librsync.py imports _librsync.

When I built rdiff-backup I specified --librsync-dir=/usr/lib.

Which file is rdiff-backup using: librsync.so or _librsync.so? Are they alternatives and if so which one should it use?


reply via email to

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