<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:47 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>[CDRIVER-2293] Add zlib and snappy linker flags if needed in CMake and pkg-config files</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2293</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Our Autotools build system&apos;s approach to providing snappy and zlib on systems where they are not already installed, was to vendor their source files, then build the libraries and install them in system library paths along with libmongoc at build time. Eventually we shouldn&apos;t do this (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2363&quot; title=&quot;Vendor the bundled zlib with the Autotools build, instead of installing it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2363&quot;&gt;&lt;del&gt;CDRIVER-2363&lt;/del&gt;&lt;/a&gt;). Meanwhile, add linker flags to the installed CMake config files and pkg-config files so programs can automatically link to zlib and snappy when they link to libmongoc.&lt;/p&gt;</description>
                <environment></environment>
        <key id="429519">CDRIVER-2293</key>
            <summary>Add zlib and snappy linker flags if needed in CMake and pkg-config files</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="bjori">Hannes Magnusson</reporter>
                        <labels>
                    </labels>
                <created>Tue, 19 Sep 2017 21:25:45 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:26 +0000</updated>
                            <resolved>Thu, 16 Nov 2017 11:05:45 +0000</resolved>
                                                    <fixVersion>1.8.2</fixVersion>
                                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="1728094" author="xgen-internal-githook" created="Thu, 16 Nov 2017 19:50:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; remove snappy test files&lt;/p&gt;

&lt;p&gt;Preparing to unbundle snappy entirely. Removing these files, including&lt;br/&gt;
binary files, avoids issues patch-testing subsequent changes in&lt;br/&gt;
Evergreen.&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/be10562786a4e4515c4aba3a9c59cd055f541a7d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/be10562786a4e4515c4aba3a9c59cd055f541a7d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1728092" author="xgen-internal-githook" created="Thu, 16 Nov 2017 19:50:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; add snappy/zlib flags to config files&lt;/p&gt;

&lt;p&gt;When we bundle zlib and/or snappy, currently the Autotools build system&lt;br/&gt;
actually builds and installs the libraries alongside libmongoc. To link&lt;br/&gt;
statically to libmongoc in this configuration, you need to include the&lt;br/&gt;
full path to zlib and/or snappy in the link line.&lt;/p&gt;

&lt;p&gt;This patch adds the full path to zlib/snappy in the CMake config file.&lt;/p&gt;

&lt;p&gt;This is a temporary workaround until we fully vendor zlib/snappy in&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2363&quot; title=&quot;Vendor the bundled zlib with the Autotools build, instead of installing it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2363&quot;&gt;&lt;del&gt;CDRIVER-2363&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/4f80ee8d285b1666c6ccc55e36fbf7444fbb4686&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/4f80ee8d285b1666c6ccc55e36fbf7444fbb4686&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1727568" author="xgen-internal-githook" created="Thu, 16 Nov 2017 13:47:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; fix merge error in config.yml&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/84257d2ebdc87d5ab31c375349186e35510db471&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/84257d2ebdc87d5ab31c375349186e35510db471&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1727565" author="xgen-internal-githook" created="Thu, 16 Nov 2017 13:47:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; add snappy/zlib flags to config files&lt;/p&gt;

&lt;p&gt;When we bundle zlib and/or snappy, currently the Autotools build system&lt;br/&gt;
actually builds and installs the libraries alongside libmongoc. To link&lt;br/&gt;
statically to libmongoc in this configuration, you need to include the&lt;br/&gt;
full path to zlib and/or snappy in the link line.&lt;/p&gt;

&lt;p&gt;This patch adds the full path to zlib/snappy in the CMake config file.&lt;/p&gt;

&lt;p&gt;This is a temporary workaround until we fully vendor zlib/snappy in&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2363&quot; title=&quot;Vendor the bundled zlib with the Autotools build, instead of installing it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2363&quot;&gt;&lt;del&gt;CDRIVER-2363&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: r1.8&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c10a4824949b3d930682862a5eea592ec98bc905&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c10a4824949b3d930682862a5eea592ec98bc905&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1727482" author="xgen-internal-githook" created="Thu, 16 Nov 2017 11:23:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; add snappy/zlib flags to config files&lt;/p&gt;

&lt;p&gt;When we bundle zlib and/or snappy, currently the Autotools build system&lt;br/&gt;
actually builds and installs the libraries alongside libmongoc. To link&lt;br/&gt;
statically to libmongoc in this configuration, you need to include the&lt;br/&gt;
full path to zlib and/or snappy in the link line.&lt;/p&gt;

&lt;p&gt;This patch adds the full path to zlib/snappy in the CMake config file.&lt;/p&gt;

&lt;p&gt;This is a temporary workaround until we fully vendor zlib/snappy in&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2363&quot; title=&quot;Vendor the bundled zlib with the Autotools build, instead of installing it&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2363&quot;&gt;&lt;del&gt;CDRIVER-2363&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/b927fa4a596102e6caa9e451ef72e7d934ae00e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/b927fa4a596102e6caa9e451ef72e7d934ae00e6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1724292" author="xgen-internal-githook" created="Mon, 13 Nov 2017 18:19:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2293&quot; title=&quot;Add zlib and snappy linker flags if needed in CMake and pkg-config files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2293&quot;&gt;&lt;del&gt;CDRIVER-2293&lt;/del&gt;&lt;/a&gt; remove snappy test files&lt;/p&gt;

&lt;p&gt;Preparing to unbundle snappy entirely. Removing these files, including&lt;br/&gt;
binary files, avoids issues patch-testing subsequent changes in&lt;br/&gt;
Evergreen.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a9c36c1cdfd47f8b82d09e33fe20b236e638188a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a9c36c1cdfd47f8b82d09e33fe20b236e638188a&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="443262">CXX-1448</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                                        </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="457333">CDRIVER-2363</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </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|ht6zqf:</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>