Hi all,
I’m trying to recompile tango on a freshly installed Ubuntu 16.04 VM.
The DataBaseds compilation failed at link stage with the following error:
make[3]: Entering directory '/home/nicolas/src/tango-9.2.5a/build/cppserver/database'
CXXLD DataBaseds
/usr/bin/ld: /home/nicolas/src/tango-9.2.5a/build/lib/cpp/client/.libs/libtango.a(dbapi_class.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/home/nicolas/src/tango-9.2.5a/build/lib/cpp/client/.libs/libtango.a: error adding symbols: Bad value
The error is there with both gcc 4.7 and 5.4.
Before diving deeper into the problem, I was wondering if there’s a known workaround to this problem.
Thanks.
N.