rdiff-backup-users
[Top][All Lists]
Advanced

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

[rdiff-backup-users] rdiff-backup on solaris


From: Doug Renfrew
Subject: [rdiff-backup-users] rdiff-backup on solaris
Date: Wed, 6 Oct 2004 16:20:42 -0400

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
---------------------------------------------




reply via email to

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