Boost C++ Libraries: Ticket #2888: python static linking must use defaults for dl and pthread https://svn.boost.org/trac10/ticket/2888 <p> When statically linking boost.python, you will get errors when it also tries to statically link libdl and and pthread.<br /> </p> <p> The solution is to change a line in boost_1_38_0/tools/build/v2/tools/python.jam<br /> </p> <p> line 657 from </p> <p> case * : return &lt;library&gt;pthread &lt;library&gt;dl<br /> </p> <p> to<br /> </p> <p> case * : return <br /> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2888 Trac 1.4.3