opensim-core icon indicating copy to clipboard operation
opensim-core copied to clipboard

Build expects static library libColPack.a to be compiled with -fPIC

Open yurivict opened this issue 3 years ago • 0 comments

/usr/local/bin/ld: /usr/local/lib/libColPack.a(CoutLock.cpp.o): relocation R_X86_64_32 against symbol `_ZN7ColPack8CoutLock8coutLockE' can not be used when making a shared object; recompile with -fPIC

Generally static libraries are built with non-position-independent code.

cmake should link it with a shared library if position-independent code is expected.

Version 4.3.1 OS: FreeBSD 13

yurivict avatar May 12 '22 00:05 yurivict