Boost C++ Libraries: Ticket #4936: cannot find boost_system-mt https://svn.boost.org/trac10/ticket/4936 <p> When I install Boost 1.42 on Ubuntu with the Synaptic Package Installer, everything works fine. /usr/local/lib/ contains libboost_system-mt.so, and libboost_system-mt.a. And, building an application dependent on Boost completes without err. </p> <p> Boost doesn't seem to have a package for my distro of Linux so I am having to build from source. I have built Boost 1.45 and 1.42 with the same effect as follows: After building Boost, and subsequently attempting to build the application dependent on Boost, I receive an error: </p> <p> $ g++ -ggdb -g -O2 -lssl -lboost_system-mt -o &lt;object-files&gt; </p> <p> /usr/bin/ld: cannot find -lboost_system-mt </p> <p> I built Boost according to the instructions at <a href="http://www.boost.org/doc/libs/1_45_0/more/getting_started/unix-variants.html">http://www.boost.org/doc/libs/1_45_0/more/getting_started/unix-variants.html</a> as I understand them: </p> <p> $ ./bootstrap.sh --prefix=/usr/local </p> <p> $ ./bjam install </p> <p> This fills /usr/local/include/ with Boost's .hpp files and /usr/local/lib/ with many libboost_xxxxxxx files. </p> <p> Nowhere in /usr/local/lib/ is any file "*-mt*", let alone a "boost_system-mt*" anywhere on my system. Why is this not working for me? </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4936 Trac 1.4.3 Vicente Botet <vicente.botet@…> Tue, 07 Dec 2010 18:55:02 GMT component changed https://svn.boost.org/trac10/ticket/4936#comment:1 https://svn.boost.org/trac10/ticket/4936#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">Building Boost</span> </li> </ul> Ticket Steven Watanabe Wed, 08 Dec 2010 17:35:40 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4936#comment:2 https://svn.boost.org/trac10/ticket/4936#comment:2 <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> The -mt suffix has been removed. If you still want it use ./bjam --layout=tagged install. </p> Ticket Mike <macortes84@…> Thu, 09 Dec 2010 15:44:30 GMT <link>https://svn.boost.org/trac10/ticket/4936#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4936#comment:3</guid> <description> <p> Thanks. It works great. The software referencing the libraries was written by someone else, and reference Boost with the -mt suffix. Compiling from source was the only way to install it on my distro, and it's overkill to modify the source for this. So thanks. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 15 Mar 2018 18:24:35 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/4936#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/4936#comment:4</guid> <description> <p> Thanks. It worked for me as well. </p> </description> <category>Ticket</category> </item> </channel> </rss>