On Mon, Jun 13, 2016 at 13:33:16 +0200, Tino Mettler wrote:
On Fri, Jun 10, 2016 at 23:49:22 +0200, deloptes wrote:
[...]
> /usr/bin/ld:
/opt/software/SyncEvolution/syncevolution-1.5.1/src/build-synthesis/src/.libs/libsynthesissdk.a(libsynthesissdk_la-SDK_util.o):
> relocation R_X86_64_PC32 against symbol `StrAllocN' can not be used when
> making a shared object; recompile with -fPIC
Hi,
IIRC this error usually happens if you want to build a dynamic library
with -fPIC and try to link it with a static one that was built without.
However, I can't see the exact cause of the failure without more
context from the build log.
My guess is that the linker error is caused by your mix of the Debian
packaging and the embedded build of libsynthesis in your build, where
the latter seems to build a static library.
In Debian, libsynthesis comes from a separate Debian package, which
provides shared libraries.
Regards,
Tino