I'm hosted on a shared environment at hostmonster.com
Here's the output of uname -a
Linux host213.hostmonster.com 2.6.28-10.40.intel.E1000E.BHsmp #1 SMP Thu May 20 14:03:42 MDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I'm following the instructions listed at :
http://wiki.rdiff-backup.org/wiki/index.php/Installations
In the section titled:
"Installing rdiff-backup using a user account with limited rights"
I successfully installed librsync with the following steps:
./configure --prefix=/home2/hoadatas/backup-scripts/build --exec-prefix=/home2/hoadatas/backup-scripts/build
make all check
make install
I verified that the librsync build produced its artifacts in /home2/hoadatas/backup-scripts/build
Next I continued by following the instructions to build rdiff-backup
ran the following command:
python setup.py install --prefix=/home2/hoadatas/backup-scripts/build --librsync-dir=/home2/hoadatas/backup-scripts/build
Here's my output, any ideas on how to fix this issue? I'm not sure where to make the change it is requesting.
running install
running build
running build_py
running build_ext
building 'rdiff_backup._librsync' extension
gcc -pthread -shared build/temp.linux-x86_64-2.4/_librsyncmodule.o -L/home2/hoadatas/backup-scripts/build/lib -lrsync -o build/lib.linux-x86_64-2.4/rdiff_backup/_librsync.so
/usr/bin/ld: /home2/hoadatas/backup-scripts/build/lib/librsync.a(buf.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home2/hoadatas/backup-scripts/build/lib/librsync.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
