Boost C++ Libraries: Ticket #3373: Boost.Build doesn't run ranlib when creating static libs https://svn.boost.org/trac10/ticket/3373 <p> Although that supposed to only be required to speed up linking, mingw linker(at least the cross-compile one) barfs without it: $ LANG=C mingw32-g++ test.cpp -L. -llibboost_regex ./libboost_regex.lib: could not read symbols: Archive has no index; run ranlib to add one collect2: ld returned 1 exit status </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3373 Trac 1.4.3 Vladimir Prus Tue, 10 Nov 2009 08:36:39 GMT milestone changed https://svn.boost.org/trac10/ticket/3373#comment:1 https://svn.boost.org/trac10/ticket/3373#comment:1 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.40.0</span> → <span class="trac-field-new">Boost 1.42.0</span> </li> </ul> <p> Will be fixed together with other mingw cleanups. </p> Ticket Vladimir Prus Tue, 10 Nov 2009 08:52:06 GMT <link>https://svn.boost.org/trac10/ticket/3373#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3373#comment:2</guid> <description> <p> For the record, the best way to detect which ranlib to use is to run "gcc -print-prog-name=ranlib". </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Thu, 25 Feb 2010 11:44:01 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3373#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3373#comment:3</guid> <description> <p> Fixed in <a class="changeset" href="https://svn.boost.org/trac10/changeset/59898" title="Ran ranlib on static libraries. ">r59898</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Thu, 25 Feb 2010 11:47:26 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3373#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3373#comment:4</guid> <description> <p> For posterity -- print-prog-name is sufficiently smart and will restore to system-wide 'ranlib' is it cannot find ranlib alongside a cross-compiler. The change was tested with arm-eabi cross compiler. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Sat, 06 Mar 2010 08:18:04 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3373#comment:5 https://svn.boost.org/trac10/ticket/3373#comment:5 <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> Actually marked as fixed now. </p> Ticket