Boost C++ Libraries: Ticket #6375: statically linking isn't possible https://svn.boost.org/trac10/ticket/6375 <p> Hello, </p> <p> I have a problem. If a compiler with -lboost-filesystem, then is no problem, but if I compile with -lboost-filesystem and -static, there is this error: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lboost_filesystem </p> <p> I have test it with -L/usr/lib64/boost-1_46, but the same error. </p> <p> OS: Gentoo </p> <p> Please help. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6375 Trac 1.4.3 René Rivera Wed, 11 Jan 2012 02:27:00 GMT component changed https://svn.boost.org/trac10/ticket/6375#comment:1 https://svn.boost.org/trac10/ticket/6375#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">Building Boost</span> </li> </ul> <p> Could you specify how you built Boost, and the exact command line invocation for both the working and failing compiles. </p> Ticket viboes Thu, 03 Jan 2013 18:19:24 GMT component changed; owner set https://svn.boost.org/trac10/ticket/6375#comment:2 https://svn.boost.org/trac10/ticket/6375#comment:2 <ul> <li><strong>owner</strong> set to <span class="trac-author">Beman Dawes</span> </li> <li><strong>component</strong> <span class="trac-field-old">Building Boost</span> → <span class="trac-field-new">filesystem</span> </li> </ul> Ticket Beman Dawes Fri, 22 Feb 2013 13:37:18 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6375#comment:3 https://svn.boost.org/trac10/ticket/6375#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Boost.Filesystem's implementation of path locale and codecvt handling has been rewritten with much simpler, more portable, and hopefully more robust code. The interface has not changed. The rewrite has been applied to svn trunk as of revision 83062. An added reference documentation section (boost-root/libs/filesystem/doc/reference.html#path-Usage) describes class path usage concerns, such as thread data races. </p> <p> These changes should resolve this issue. If you believe it has not been resolved satisfactorily, please open a new issue rather than reopening this issue. But before you do that, please read boost-root/libs/filesystem/doc/reference.html#path-Usage to be sure that the problem you are seeing is not a manifestation of one of the those concerns. If you do open a new issue, please be specific and supply a test case and lots of details. Just saying something "doesn't work" or "crashes" is not enough! </p> <p> Thanks, </p> <p> --Beman </p> Ticket