
18 Nov
2011
18 Nov
'11
3:22 p.m.
On Thursday, November 17, 2011 6:28 PM, Keith Gunderson wrote: *snip*
4: Segfaults occur when APP->LIB is dynamic while APP->Boost and LIB->Boost are linked statically.
This is a known dangerous setup. Not just with Boost, but with any library. The problem happens because APP and LIB each have their own copy of Boost, which violates the one definition rule. It is best to not mix static and dynamic linking in the same project.