Boost C++ Libraries: Ticket #1065: cannot find -lboost_filesystem https://svn.boost.org/trac10/ticket/1065 <p> Im trying to compile openlibraries in debian unstable, and when i run make command a receive this message: (im with libboost-filesystem with dev installed) (end of the log..) Code: </p> <p> npluginlib_pl.so.0 -o .libs/libopenpluginlib_pl.so.0.0.4 /usr/bin/ld: cannot find -lboost_filesystem collect2: ld returned 1 exit status make<a class="changeset" href="https://svn.boost.org/trac10/changeset/4" title="Tweak disclaimer formatting, again">[4]</a>: <strong> [libopenpluginlib_pl.la] Erro 1 make<a class="changeset" href="https://svn.boost.org/trac10/changeset/4" title="Tweak disclaimer formatting, again">[4]</a>: Saindo do diretório `/home/a/downloads/openlibraries-0.4.0/src/openpluginlib/pl' make<a class="changeset" href="https://svn.boost.org/trac10/changeset/3" title="Tweak disclaimer text">[3]</a>: </strong> [all-recursive] Erro 1 make<a class="changeset" href="https://svn.boost.org/trac10/changeset/3" title="Tweak disclaimer text">[3]</a>: Saindo do diretório `/home/a/downloads/openlibraries-0.4.0/src/openpluginlib' make<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>: <strong> [all-recursive] Erro 1 make<a class="changeset" href="https://svn.boost.org/trac10/changeset/2" title="Add Boost Disclaimer">[2]</a>: Saindo do diretório `/home/a/downloads/openlibraries-0.4.0/src' make<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>: </strong> [all-recursive] Erro 1 make<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>: Saindo do diretório `/home/a/downloads/openlibraries-0.4.0' make: <strong> [all] Erro 2 </strong></p> <hr /> <p> /usr/lib/ (related with filesystem) libboost_filesystem-gcc-1_33_1.so.1.33.1 libboost_filesystem-gcc41-1_34.a libboost_filesystem-gcc41-1_34.so libboost_filesystem-gcc41-1_34.so.1.34.0 libboost_filesystem-gcc41-mt-1_34.a libboost_filesystem-gcc41-mt-1_34.so libboost_filesystem-gcc41-mt-1_34.so.1.34.0 libboost_filesystem-gcc-mt-1_33_1.so.1.33.1 libboost_filesystem-mt.a libboost_filesystem-mt.so libboost_filesystem-st.a libboost_filesystem-st.so </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1065 Trac 1.4.3 René Rivera Wed, 27 Jun 2007 21:36:45 GMT milestone changed; version set https://svn.boost.org/trac10/ticket/1065#comment:1 https://svn.boost.org/trac10/ticket/1065#comment:1 <ul> <li><strong>version</strong> → <span class="trac-field-new">release 1.34.0</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.34.1</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket Tarjei Knapstad <tarjei.knapstad@…> Tue, 03 Jul 2007 08:52:34 GMT <link>https://svn.boost.org/trac10/ticket/1065#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1065#comment:2</guid> <description> <p> This is a problem with Debians packaging and not with Boost. </p> <p> It looks like Debian is packaging both a single threaded and multi threaded version of the boost_filesystem lib and add '-st' and '-mt' to the library name. Either modify <a class="missing wiki">OpenLibraries</a> to link with either the 'boost_filesystem-mt' (or '-st') or report this upstream to the Debian packagers. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Wed, 11 Jul 2007 02:05:54 GMT</pubDate> <title>owner set https://svn.boost.org/trac10/ticket/1065#comment:3 https://svn.boost.org/trac10/ticket/1065#comment:3 <ul> <li><strong>owner</strong> set to <span class="trac-author">Beman Dawes</span> </li> </ul> Ticket anonymous Thu, 12 Jul 2007 22:07:03 GMT <link>https://svn.boost.org/trac10/ticket/1065#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1065#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1065#comment:2" title="Comment 2">Tarjei Knapstad &lt;tarjei.knapstad@gmail.com&gt;</a>: </p> <blockquote class="citation"> <p> This is a problem with Debians packaging and not with Boost. </p> <p> It looks like Debian is packaging both a single threaded and multi threaded version of the boost_filesystem lib and add '-st' and '-mt' to the library name. Either modify <a class="missing wiki">OpenLibraries</a> to link with either the 'boost_filesystem-mt' (or '-st') or report this upstream to the Debian packagers. </p> </blockquote> <p> Hi, </p> <p> why do you expect -lboost_filesystem is the right way to link with Boost.Filesystem library? Could you please elaborate on how Debian packagers (me) should solve this problem without introducing portability problems? Could you please also point me to the documentation showing -lboost_filesystem as the preferred way to link to that library? Moreover, why Boost.Build does not setup anywhere a library usable with -lboost_filesystem? </p> <p> Regards, Domenico </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Vladimir Prus</dc:creator> <pubDate>Wed, 18 Jul 2007 16:52:20 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1065#comment:5 https://svn.boost.org/trac10/ticket/1065#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">invalid</span> </li> </ul> <p> This bug is invalid. Linking using -lboost_filesystem is not documented as working, so no bug. While I'm not 100% happy with the current naming scheme, a change in the naming scheme should be result of some mailing list discussion. </p> Ticket