From: Neal Becker (ndbecker2_at_[hidden])
Date: 2008-05-02 06:26:53


After building boost (recent svn Revision: 44635 ) using:

bjam -sICU_PATH=/usr -sEXPAT_INCLUDE=/usr -sEXPAT_LIBPATH=/usr/lib64 --layout=system
threading=single stage

Then when I tried to re-build my shared object against the boost libs, I
got:

/usr/bin/ld: mod/ldpc.os: relocation R_X86_64_32 against `__dso_handle' can
not be used when making a shared object; recompile with -fPIC

Did -fPIC flag go missing when building the boost libs? (Can someone
refresh my memory which bjam flag to use to show the compile invocation)?