HKUST-Aerial-Robotics/VINS-Mono

libboost_filesystem.a(operations.o): relocation R_X86_64_PC32 against symbol

mahmood-ul-hasan opened this issue · 0 comments

When I am running command catkin_make it produce following error:

/usr/bin/ld: /usr/lib/x86_64-linux-gnu/libboost_filesystem.a(operations.o): relocation R_X86_64_PC32 against symbol `_ZN5boost6system6detail10cat_holderIvE24system_category_instanceE' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status