[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Duplicity-talk] can't build on centos 5
From: |
Kenneth Loafman |
Subject: |
Re: [Duplicity-talk] can't build on centos 5 |
Date: |
Thu, 03 Dec 2009 04:59:03 -0600 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090817) |
Take a look in the README file for building from tarballs. You'll need
a couple more packages, librsync-dev being one of them.
...Ken
address@hidden wrote:
> Hi all,
>
>
>
> I’m trying to install duplicity on Centos 5.4.
>
>
>
> I installed the librsync 0.9.7-2 rpm for RHEL x86_64 rpm from DAG.
>
>
>
> If I download the 0.6.06 tarball and run setup.py install, I get:
>
>
>
> …
>
> running build_ext
>
> building 'duplicity._librsync' extension
>
> creating build/temp.linux-x86_64-2.4
>
> gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC
> -I/usr/include/python2.4 -c _librsyncmodule.c -o
> build/temp.linux-x86_64-2.4/_librsyncmodule.o
>
> gcc -pthread -shared build/temp.linux-x86_64-2.4/_librsyncmodule.o
> -lrsync -o build/lib.linux-x86_64-2.4/duplicity/_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
>
>
>
> Any thoughts or suggestions would be appreciated.
>
>
>
> Thanks,
>
> Kevin
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
signature.asc
Description: OpenPGP digital signature