SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rdiff-backup on solaris
Author Message
Post rdiff-backup on solaris 
Hi,

I am new to rdiff-backup and python and I am trying to install it on a
Solaris machine. I have it complied, installed, and running fine on
linux but I am having trouble run it on solaris. Both librsync and
rdiff-backup seem to compile and install fine, but when I run it I get
the following errors.

Traceback (most recent call last):
File "/afs/isis.unc.edu/home/r/e/renfrew/bin/rdiff-backup", line 21, in ?
import rdiff_backup.Main
File "/afs/isis/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/Main.py",
line 25, in ?
import Globals, Time, SetConnections, selection, robust, rpath, \
File "/afs/isis/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/SetConnections.py",
line 30, in ?
import Globals, connection, rpath
File "/afs/isis/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/connection.py",
line 534, in ?
import Globals, Time, Rdiff, Hardlink, FilenameMapping, C, Security, \
File "/afs/isis/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/Rdiff.py",
line 22, in ?
import os, librsync
File "/afs/isis/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/librsync.py",
line 27, in ?
import _librsync, types, array
ImportError: ld.so.1: /afs/isis/pkg/isis/bin/python: fatal: relocation
error: file /afs/isis/home/r/e/renfrew/lib/python2.2/site-packages/rdiff_backup/_librsync.so:
symbol __floatdidf: referenced symbol not found


librsync was complied and installed as follows:
$ ./configure --prefix=/afs/isis/home/r/e/renfrew
$ make AM_CFLAGS=-fPIC
$ make install

rdiff-backup was compiled and installed as follows:
$ python setup.py --librsync-dir=/afs/isis/home/r/e/renfrew build
$ python setup.py install --prefix=/afs/isis/home/r/e/renfrew

My PYTHONPATH is set to /afs/isis/home/r/e/renfrew/lib/python2.2/site-packages/

The system has python 2.2 and gcc 3.3.1.

I have seen in some of the posts that people on solaris are having
issues with librsync and it seems like this might be problem. The
advise in the rdiff-backup wiki on the solaris install suggested to
compile librsync with "make AM_CFLAGS=-fPIC".

Any help is appreciated, thanks in advance.

Doug

--
---------------------------------------------
P. Douglas Renfrew
Graduate Student
Molecular and Cellular Biophysics Program
Dept. Biochemistry and Biophysics
Unv. of North Carolina at Chapel Hill
cell: (919)618-0700
---------------------------------------------

Post rdiff-backup on solaris 
begin quotation of Doug Renfrew on 2004-10-06 16:20:42 -0400:

The system has python 2.2 and gcc 3.3.1.

I don't know if you have any control over this, but I've heard of far
better results with python 2.3 than 2.2.

Post rdiff-backup on solaris 
File "/afs/isis.unc.edu/home/r/e/renfrew/bin/rdiff-backup"

It's been a long time since I've used an afs environment,
but I do remember that afs has ACL's,
and I don't remember where it stores them and
have no idea if python has good support for them.

If you do get things working, please do
report back to the list as to whether or not you can backup
and restore a file and have the ACL's remain intact...

--akb

Post rdiff-backup on solaris 
begin quotation of Andrew K. Bressen on 2004-10-12 18:59:29 -0400:


File "/afs/isis.unc.edu/home/r/e/renfrew/bin/rdiff-backup"

It's been a long time since I've used an afs environment,
but I do remember that afs has ACL's,
and I don't remember where it stores them and
have no idea if python has good support for them.

I should add that you can disable ACLs from the command line, and that
the current version of rdiff-backup does not properly support AFS
hardlinking - I sent a patch to the mailing list a month back or so,
and you can manually disable them.

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB