Skip to content

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

Open
@yurivict

Description

@yurivict
/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions