<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:58:50 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[CXX-315] Installing legacy-1.0.0-rc0 on Mac OS X fails</title>
                <link>https://jira.mongodb.org/browse/CXX-315</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;I cloned the `mongo-cxx-driver` repo, switched to the legacy-1.0.0-rc0 release, ran `scons` and got the following error:&lt;br/&gt;
```&lt;br/&gt;
scons: Building targets ...&lt;br/&gt;
Creating &apos;build/darwin/normal/mongo/version.h&apos;&lt;br/&gt;
g++ -o build/darwin/normal/authTest -fPIC -Wl,-bind_at_load -mmacosx-version-min=10.6 build/darwin/normal/mongo/client/examples/authTest.o build/darwin/normal/libmongoclient.a -lboost_regex-mt -lboost_thread-mt -lboost_system-mt&lt;br/&gt;
Undefined symbols for architecture x86_64:&lt;br/&gt;
  &quot;boost::match_results&amp;lt;_&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, std::allocator&amp;lt;boost::sub_match&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt; &amp;gt; &amp;gt; &amp;gt;::maybe_assign(boost::match_results&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, std::allocator&amp;lt;boost::sub_match&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;_normal_iterator&amp;lt;char const*, std::string&amp;gt; &amp;gt; &amp;gt; &amp;gt; const&amp;amp;)&quot;, referenced from:&lt;br/&gt;
      boost::re_detail::perl_matcher&amp;lt;_&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, std::allocator&amp;lt;boost::sub_match&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;_normal_iterator&amp;lt;char const*, std::string&amp;gt; &amp;gt; &amp;gt;, boost::regex_traits&amp;lt;char, boost::cpp_regex_traits&amp;lt;char&amp;gt; &amp;gt; &amp;gt;::match_prefix() in libmongoclient.a(dbclient.o)&lt;br/&gt;
      boost::re_detail::perl_matcher&amp;lt;_&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, std::allocator&amp;lt;boost::sub_match&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;_normal_iterator&amp;lt;char const*, std::string&amp;gt; &amp;gt; &amp;gt;, boost::regex_traits&amp;lt;char, boost::cpp_regex_traits&amp;lt;char&amp;gt; &amp;gt; &amp;gt;::match_match() in libmongoclient.a(dbclient.o)&lt;br/&gt;
  &quot;boost::re_detail::perl_matcher&amp;lt;_&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, std::allocator&amp;lt;boost::sub_match&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;_normal_iterator&amp;lt;char const*, std::string&amp;gt; &amp;gt; &amp;gt;, boost::regex_traits&amp;lt;char, boost::cpp_regex_traits&amp;lt;char&amp;gt; &amp;gt; &amp;gt;::construct_init(boost::basic_regex&amp;lt;char, boost::regex_traits&amp;lt;char, boost::cpp_regex_traits&amp;lt;char&amp;gt; &amp;gt; &amp;gt; const&amp;amp;, boost::regex_constants::_match_flags)&quot;, referenced from:&lt;br/&gt;
      boost::re_detail::perl_matcher&amp;lt;_&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, std::allocator&amp;lt;boost::sub_match&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt; &amp;gt; &amp;gt;, boost::regex_traits&amp;lt;char, boost::cpp_regex_traits&amp;lt;char&amp;gt; &amp;gt; &amp;gt;::perl_matcher(&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, __gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, boost::match_results&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt;, std::allocator&amp;lt;boost::sub_match&amp;lt;&lt;/em&gt;&lt;em&gt;gnu_cxx::&lt;/em&gt;&lt;em&gt;normal_iterator&amp;lt;char const*, std::string&amp;gt; &amp;gt; &amp;gt; &amp;gt;&amp;amp;, boost::basic_regex&amp;lt;char, boost::regex_traits&amp;lt;char, boost::cpp_regex_traits&amp;lt;char&amp;gt; &amp;gt; &amp;gt; const&amp;amp;, boost::regex_constants::_match_flags, __gnu_cxx::&lt;/em&gt;_normal_iterator&amp;lt;char const*, std::string&amp;gt;) in libmongoclient.a(dbclient.o)&lt;br/&gt;
ld: symbol(s) not found for architecture x86_64&lt;br/&gt;
clang: error: linker command failed with exit code 1 (use -v to see invocation)&lt;br/&gt;
scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/darwin/normal/authTest&amp;#93;&lt;/span&gt; Error 1&lt;br/&gt;
scons: building terminated because of errors.&lt;br/&gt;
```&lt;/p&gt;</description>
                <environment></environment>
        <key id="154741">CXX-315</key>
            <summary>Installing legacy-1.0.0-rc0 on Mac OS X fails</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="daniel.alabi@10gen.com">Daniel Alabi</reporter>
                        <labels>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Tue, 26 Aug 2014 04:22:15 +0000</created>
                <updated>Thu, 13 Nov 2014 21:27:07 +0000</updated>
                            <resolved>Tue, 2 Sep 2014 19:59:15 +0000</resolved>
                                    <version>legacy-1.0.0-rc0</version>
                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="706725" author="tyler@10gen.com" created="Thu, 28 Aug 2014 14:30:45 +0000"  >&lt;p&gt;Yup, this is not great. I believe it should build if you invoke `scons` and do reasonable platform detection (for which the latest mac os should not be considered exotic)&lt;/p&gt;</comment>
                            <comment id="706166" author="daniel.alabi@10gen.com" created="Wed, 27 Aug 2014 20:52:11 +0000"  >&lt;p&gt;It works by invoking `scons --osx-version-min=10.7 --libc++`. I&apos;m just (mostly randomly) going through most drivers and learning to use them. I&apos;ll submit a pull request that just deletes some errant IP address. It might be helpful to update the docs so that&apos;s it clear that `scons` alone doesn&apos;t work (on all OS&apos;s). &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-13978&quot; title=&quot;On Windows, windows_basic.h should error if we don&amp;#39;t have both NTDDI_VERSION and _WIN32_WINNT&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-13978&quot;&gt;&lt;del&gt;CXX-211&lt;/del&gt;&lt;/a&gt; also seems really important too.&lt;/p&gt;</comment>
                            <comment id="703971" author="acm" created="Tue, 26 Aug 2014 12:13:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=daniel.alabi%4010gen.com&quot; class=&quot;user-hover&quot; rel=&quot;daniel.alabi@10gen.com&quot;&gt;daniel.alabi@10gen.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I think you are building against boost libraries that were linked with libc&amp;#43;&amp;#43; rather than libstdc&amp;#43;&amp;#43;, but you are building the driver against the libstdc++ headers (there are two standard libraries that ship on modern OS X).&lt;/p&gt;

&lt;p&gt;The fix is likely to be either:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;relink boost against libstdc&amp;#43;&amp;#43; rather than libc&amp;#43;&amp;#43;&lt;/li&gt;
	&lt;li&gt;Request libc&amp;#43;&amp;#43; explicitly by passing --osx-version-min=10.7 --libc&amp;#43;&amp;#43; to your scons invocation.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="135762">CXX-221</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hs1ofr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>134401</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>