<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:03:53 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-1777] Install error because can not link to boost and python2</title>
                <link>https://jira.mongodb.org/browse/CXX-1777</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;ol&gt;
	&lt;li&gt;Install mongodb with legacy branch.&lt;br/&gt;
I follow &lt;span class=&quot;error&quot;&gt;&amp;#91;install page&amp;#93;&lt;/span&gt;(&lt;a href=&quot;http://mongocxx.org/legacy-v1/installation/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://mongocxx.org/legacy-v1/installation/&lt;/a&gt;)&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;I load python2 and boost/1.69.0&lt;br/&gt;
And then I run `scons install`&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;the error was appeared as below.&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;`scons: Reading SConscript files ...&lt;/p&gt;

&lt;p&gt;scons version: 3.0.5&lt;/p&gt;

&lt;p&gt;python version: 2 7 10 &apos;final&apos; 0&lt;/p&gt;

&lt;p&gt;Checking whether the C++ compiler works... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking whether the C compiler works... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C++ compiler &quot;g++&quot; is GCC... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler &quot;gcc&quot; is GCC... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-local-typedefs... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-function... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-private-field... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-const-variable... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-missing-braces... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if we are using libstdc++... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for libstdc++ 4.6.0 or better... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if we are on a POSIX system... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if the POSIX monotonic clock is supported... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for __thread... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for gcc __atomic builtins... (cached) no&lt;/p&gt;

&lt;p&gt;Checking for useable __sync builtins... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for C++ header file boost/version.hpp... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for C++ library boost_regex-mt... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for C++ library boost_thread-mt... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for C++ library boost_system-mt... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for C header file unistd.h... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for C library rt... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking whether timegm is declared... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking whether strnlen is declared... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for C library curl... (cached) yes&lt;/p&gt;

&lt;p&gt;scons: done reading SConscript files.&lt;/p&gt;

&lt;p&gt;scons: Building targets ...&lt;/p&gt;

&lt;p&gt;/cluster/software/VERSIONS/python2-2.7.10/bin/python src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err build/linux2/normal/mongo/base/error_codes.h build/linux2/normal/mongo/base/error_codes.cpp&lt;/p&gt;

&lt;p&gt;/cluster/software/VERSIONS/python2-2.7.10/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory&lt;/p&gt;

&lt;p&gt;scons: *** &lt;span class=&quot;error&quot;&gt;&amp;#91;build/linux2/normal/mongo/base/error_codes.h&amp;#93;&lt;/span&gt; Error 127&lt;/p&gt;

&lt;p&gt;scons: building terminated because of errors.&lt;br/&gt;
`&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;I checked `libpython2.7.so.1.0` is in `/cluster/software/VERSIONS/python2-2.7.10/lib`&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Then, I change the command to `scons --extralib=/cluster/software/VERSIONS/python2-2.7.10 install`, &lt;br/&gt;
and scons cannot link to boost.&lt;/p&gt;

&lt;p&gt;`scons: Reading SConscript files ...&lt;/p&gt;

&lt;p&gt;scons version: 3.0.5&lt;/p&gt;

&lt;p&gt;python version: 2 7 10 &apos;final&apos; 0&lt;/p&gt;

&lt;p&gt;Checking whether the C++ compiler works... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking whether the C compiler works... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C++ compiler &quot;g++&quot; is GCC... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler &quot;gcc&quot; is GCC... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-local-typedefs... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-function... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-private-field... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-deprecated-declarations... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-unused-const-variable... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if C compiler supports -Wno-missing-braces... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if we are using libstdc++... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for libstdc++ 4.6.0 or better... (cached) no&lt;/p&gt;

&lt;p&gt;Checking if we are on a POSIX system... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking if the POSIX monotonic clock is supported... (cached) yes&lt;/p&gt;

&lt;p&gt;Checking for __thread... no&lt;/p&gt;

&lt;p&gt;Checking for gcc __atomic builtins... no&lt;/p&gt;

&lt;p&gt;Checking for useable __sync builtins... no&lt;/p&gt;

&lt;p&gt;Checking for C++ header file boost/version.hpp... yes&lt;/p&gt;

&lt;p&gt;Checking for C++ library boost_regex-mt... no&lt;/p&gt;

&lt;p&gt;Checking for C++ library boost_regex... no&lt;/p&gt;

&lt;p&gt;can&apos;t find boost&lt;/p&gt;

&lt;p&gt;See /cluster/home/cnphuong/.local/opt/mongo-client/build/scons/config.log for details&lt;br/&gt;
`&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Can you give me some suggestions with this situation?&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Boost library is in `/cluster/software/VERSIONS/boost/1.69.0`&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>Linux, on cluster server.</environment>
        <key id="778519">CXX-1777</key>
            <summary>Install error because can not link to boost and python2</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ph0123">chau phuong</reporter>
                        <labels>
                    </labels>
                <created>Tue, 28 May 2019 12:12:24 +0000</created>
                <updated>Mon, 9 Sep 2019 17:58:44 +0000</updated>
                            <resolved>Mon, 9 Sep 2019 17:58:44 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="2268545" author="acm" created="Mon, 3 Jun 2019 14:30:04 +0000"  >&lt;p&gt;The legacy C++ driver is now end-of-life and is no longer supported.&lt;/p&gt;</comment>
                    </comments>
                    <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|huqjdb:</customfieldvalue>

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