<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:59:31 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-542] Building driver with ssl &amp; sasl support does not work</title>
                <link>https://jira.mongodb.org/browse/CXX-542</link>
                <project id="11980" key="CXX">C++ Driver</project>
                    <description>&lt;p&gt;For some reason, the build system can&apos;t find boost when the --ssl option is used. However, it can when omitted.&lt;/p&gt;</description>
                <environment></environment>
        <key id="185412">CXX-542</key>
            <summary>Building driver with ssl &amp; sasl support does not work</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="DixieFlatline">Brenton Poke [X]</reporter>
                        <labels>
                            <label>driver</label>
                            <label>legacy-cxx</label>
                    </labels>
                <created>Fri, 20 Feb 2015 21:46:38 +0000</created>
                <updated>Wed, 6 Apr 2016 15:59:27 +0000</updated>
                            <resolved>Mon, 9 Mar 2015 00:21:25 +0000</resolved>
                                    <version>legacy-1.0.0</version>
                                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1227722" author="acm" created="Wed, 6 Apr 2016 15:59:27 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=christian.wyss%40gfk.com&quot; class=&quot;user-hover&quot; rel=&quot;christian.wyss@gfk.com&quot;&gt;christian.wyss@gfk.com&lt;/a&gt; - Well, we definitely aren&apos;t going to do CMake for the legacy C++ driver now. The good news though is that the new C++11 driver does use CMake. As for the poor user experience when OpenSSL is not installed, we actually will have a fix coming in this area in the legacy-1.1.2 release (legacy-1.1.1 is almost out the door and the fix won&apos;t make for that release).&lt;/p&gt;</comment>
                            <comment id="1227368" author="christian.wyss@gfk.com" created="Wed, 6 Apr 2016 12:34:22 +0000"  >&lt;p&gt;Hello &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=DixieFlatline&quot; class=&quot;user-hover&quot; rel=&quot;DixieFlatline&quot;&gt;DixieFlatline&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=acm&quot; class=&quot;user-hover&quot; rel=&quot;acm&quot;&gt;acm&lt;/a&gt;&lt;br/&gt;
We just encountered the same behaviour on a CentOS7 environment.&lt;br/&gt;
After finding this issue we realized the openssl-devel package was missing on the build system.&lt;/p&gt;

&lt;p&gt;yum install openssl-devel cyrus-sasl-devel&lt;/p&gt;

&lt;p&gt;solved it for us in the end,&lt;br/&gt;
openssl-devel for ssl and crypto libs, cyrus-sasl-devel because of missing sasl.h include&lt;/p&gt;

&lt;p&gt;It would be nice though to have proper errors from that scons thing - or a CMake that works..&lt;/p&gt;</comment>
                            <comment id="842384" author="acm" created="Wed, 4 Mar 2015 02:58:09 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=DixieFlatline&quot; class=&quot;user-hover&quot; rel=&quot;DixieFlatline&quot;&gt;DixieFlatline&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;I wanted to follow up with you on this ticket since I had not heard back from you. Were you able to make progress building the driver given that the build system was failing to find libssl and libcrypto at configure time?&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="839809" author="acm" created="Sun, 1 Mar 2015 18:59:58 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=DixieFlatline&quot; class=&quot;user-hover&quot; rel=&quot;DixieFlatline&quot;&gt;DixieFlatline&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;I see the following lines in your configure output:&lt;/p&gt;

&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;/bin/ld: cannot find -lssl&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;/bin/ld: cannot find -lcrypto&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;collect2: error: ld returned 1 exit status&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;scons: Configure: no&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Where do you have the openssl libraries installed?&lt;/p&gt;

&lt;p&gt;Also, this is poor behavior in the build system: it should be checking for the presence of these libraries and erroring out if it doesn&apos;t find them. Instead, it unconditionally adds them to the link libraries, causing subsequent unrelated configure checks to fail, which is confusing.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                            <comment id="839224" author="dixieflatline" created="Fri, 27 Feb 2015 19:09:53 +0000"  >&lt;p&gt;Ok, I wiped the directory and downloaded again. Uploaded a second config.log&lt;/p&gt;</comment>
                            <comment id="838933" author="acm" created="Fri, 27 Feb 2015 15:13:13 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=DixieFlatline&quot; class=&quot;user-hover&quot; rel=&quot;DixieFlatline&quot;&gt;DixieFlatline&lt;/a&gt; - &lt;/p&gt;

&lt;p&gt;Thanks for sending that. It looks like this was from a re-run, so the configure output is &quot;cached&quot; in a lot of places, which makes it less diagnostically useful. Can you re-run with the --config=force option and re-post the output of config.log?&lt;/p&gt;

&lt;p&gt;If you could also include the console output of the configure step that would be helpful too.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;

</comment>
                            <comment id="838917" author="dixieflatline" created="Fri, 27 Feb 2015 15:00:31 +0000"  >&lt;p&gt;Here&apos;s the config.log file (attached). Sorry about the late reply.&lt;/p&gt;</comment>
                            <comment id="834021" author="acm" created="Fri, 20 Feb 2015 21:53:54 +0000"  >&lt;p&gt;Hi -&lt;/p&gt;

&lt;p&gt;Can you send us the contents of the file build/scons/config.log? That should let us see what error is making the build system think it can&apos;t find boost. I think the error message is misleading and it is actually failing in some other way.&lt;/p&gt;

&lt;p&gt;Also, you most likely don&apos;t actually need the --64 flag (unless your local toolchain targets 32-bit by default), or the --release flag, which is more or less vestigial. Optimization and internal debugging checks are managed via the --dbg and --opt flags.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Andrew&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="65993" name="config.log" size="17172" author="DixieFlatline" created="Fri, 27 Feb 2015 19:09:53 +0000"/>
                            <attachment id="65954" name="config.log" size="33294" author="DixieFlatline" created="Fri, 27 Feb 2015 15:00:31 +0000"/>
                    </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|hs6hef:</customfieldvalue>

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