@evoskuil it failed with this error: /usr/bin/ld: /home/myuser/build/lib/libboost_filesystem.a(operations.o): relocation R_X86_64_PC32 against `_ZN5boost10filesystem6detail13dir_itr_closeERPvS3_' can not be used when making a shared object; recompile with -fPIC