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

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

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


From: Andrew Ferguson
Subject: Re: [rdiff-backup-users] Building rdiff 1.2 on Redhat Enterprise 5.1?
Date: Wed, 13 Aug 2008 21:21:33 -0400

On Aug 13, 2008, at 8:41 PM, Michael Hannon wrote:
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


Rebuild librsync, but add the --enable-shared option to librsync's ./ configure script.

Then, you will get a librsync.so, which is a shared library (.a is a static library).



Andrew




reply via email to

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