Boost C++ Libraries: Ticket #11807: sun.jam needs updating when creating shared libraries compiled with -std=[c++03,c++11] mode. https://svn.boost.org/trac10/ticket/11807 <p> When compiling with Oracle Solaris Studio compilers in -std=[c++03,c++11] modes, several python tests fail with the following error: </p> <p> <a class="missing wiki">ImportError</a>: ld.so.1: isapython2.6: fatal: relocation error: file /export/home/boost_regression_develop/boost_sparc-S2_cpp11/results/boost/bin.v2/libs/python/test/injected.test/sun-next_cpp11/ release/threading-multi/injected_ext.so: symbol _ZTIv: referenced symbol not found </p> <p> These errors occur when any libraries that are linked into the application that has no C++11 runtime already linked in. </p> <p> When creating shared libraries, for line 159 in the sun.jam file </p> <p> 157 actions link.dll bind LIBRARIES 158 { 159 "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(&lt;)" -h$(&lt;<a class="changeset" href="https://svn.boost.org/trac10/changeset/1" title="Import core sources for SVNmanger 0.38 ">[1]</a>:D=) -G $(STDLIBOPT) "$(&gt;)" "$(LIBRARIES)" -Bdynamic -l$(FINDLIBS-SA) -Bstatic -l$(FINDLIBS-ST) -B$(LINK-RUNTIME) 160 } </p> <p> replacing '-G' with '-G -library=stdcpp,CrunG3' </p> <p> seems to resolve the issue. </p> <p> I will submit a PR shortly and specify the PR# to this ticket for reference. If interested, here is the archive on the Boost developers build regarding this issue. <a class="ext-link" href="http://lists.boost.org/boost-build/2015/11/28379.php"><span class="icon">​</span>http://lists.boost.org/boost-build/2015/11/28379.php</a> </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11807 Trac 1.4.3 Aparna Kumta <aparna.kumta@…> Thu, 19 Nov 2015 19:03:24 GMT <link>https://svn.boost.org/trac10/ticket/11807#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11807#comment:1</guid> <description> <p> PR submitted. </p> <p> <a class="ext-link" href="https://github.com/boostorg/build/pull/109"><span class="icon">​</span>https://github.com/boostorg/build/pull/109</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>