-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Description
When linking against yaml-cpp I got following error:
/usr/bin/ld: /home/beda/.local/lib/../lib/libyaml-cpp.a(convert.cpp.o): relocation R_X86_64_PC32 against symbol `_ZTIN4YAML11InvalidNodeE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
Adding -fPIC option to yaml-cpp CMakeLists.txt and reinstalling it solved the problem.
Metadata
Metadata
Assignees
Labels
No labels