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

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

[rdiff-backup-users] Building rdiff 1.2 on Redhat Enterprise 5.1?


From: Michael Hannon
Subject: [rdiff-backup-users] Building rdiff 1.2 on Redhat Enterprise 5.1?
Date: Wed, 13 Aug 2008 17:41:41 -0700
User-agent: Mutt/1.4.2.2i

Hi, folks.  I thought I'd give the new, stable version of rdiff a try.
We've got a system running Redhat Enterprise 5.1 that I'd like to use
for this test.  I couldn't find an RPM for this version/platform, so I
tried to build it from source. I had to build librsync from source as
well.  

Here are some relevant parameters:

    Python 2.4.3 (#1, Apr  7 2007, 17:50:23)
    [GCC 4.1.1 20061011 (Red Hat 4.1.1-30)] on linux2
    
    gcc (GCC) 4.1.2 20070626 (Red Hat 4.1.2-14)

The installation of librsync seems to have finished without error, but
I've got a problem with rdiff:

# python setup.py install --prefix=/usr/local
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
-lrsync -o build/lib.linux-x86_64-2.4/rdiff_backup/_librsync.so
/usr/bin/ld: /usr/local/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
/usr/local/lib/librsync.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

Please send me any suggestions you might have for getting past this
problem.

Thanks.

                                        - Mike
-- 
Michael Hannon            mailto:address@hidden
Dept. of Physics          530.752.4966
University of California  530.752.4717 FAX
Davis, CA 95616-8677




reply via email to

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