<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:19:23 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-3915] Static linking failing</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-3915</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;When statically linking libmongoc into the Rust driver wrapper static linking fails. Multiple references are undefined, such as&#160;__res_nsearch.&lt;/p&gt;

&lt;p&gt;Build output is &lt;a href=&quot;https://appsignal.semaphoreci.com/jobs/fa7c93d6-88ed-4a2d-8b8c-ff4ce6dc7381&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&#160;Cmake options are set &lt;a href=&quot;https://github.com/appsignal/mongo-rust-driver/blob/344e237ed97fc32eaa77399c63c2d8427af80dd9/mongoc-sys/build.rs#L58&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It seems like maybe some dependencies other than those mentioned in the installation doc are needed. Am I missing something here?&lt;/p&gt;</description>
                <environment>Ubuntu</environment>
        <key id="1636917">CDRIVER-3915</key>
            <summary>Static linking failing</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="13203">Gone away</resolution>
                                        <assignee username="clyde.bazile@mongodb.com">Clyde Bazile III</assignee>
                                    <reporter username="thijs@appsignal.com">Thijs Cadier</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Mar 2021 12:41:43 +0000</created>
                <updated>Fri, 27 Oct 2023 19:50:23 +0000</updated>
                            <resolved>Mon, 29 Mar 2021 15:52:06 +0000</resolved>
                                    <version>1.17.4</version>
                                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="3689009" author="thijs@appsignal.com" created="Mon, 29 Mar 2021 15:54:30 +0000"  >&lt;p&gt;Thanks for the help!&lt;/p&gt;</comment>
                            <comment id="3688996" author="clyde.bazile" created="Mon, 29 Mar 2021 15:51:35 +0000"  >&lt;p&gt;That is unexpected. I created the ticket &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-3939&quot; title=&quot;ENABLE_ICU=OFF does not prevent libmongoc from linking&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-3939&quot;&gt;&lt;del&gt;CDRIVER-3939&lt;/del&gt;&lt;/a&gt; to address the issue. Since it appears you have a work around I&apos;ll close this ticket but feel free to re-open if your issue persist. Also, you can check our docs on authentication with&#160;SCRAM-SHA-256 &lt;a href=&quot;http://mongoc.org/libmongoc/current/authentication.html#basic-authentication-scram-sha-256&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; for how and when to link against libicu using CMake (including how to disable linking against it entirely).&lt;/p&gt;</comment>
                            <comment id="3688896" author="thijs@appsignal.com" created="Mon, 29 Mar 2021 15:28:25 +0000"  >&lt;p&gt;I&apos;m trying to actually disable ICU, so we don&apos;t have to install that as a dependency everywhere. It looks like DMONGOC_ENABLE_ICU alone does not prevent the library from linking. Is that expected?&lt;/p&gt;</comment>
                            <comment id="3688820" author="thijs@appsignal.com" created="Mon, 29 Mar 2021 15:09:07 +0000"  >&lt;p&gt;I took another stab at this and was able to get to a working build. I had to explicitly link against resolv. Also I had to install libicu-dev and explicitly link against icuuc. Even when turning off icu with the cmake option.&lt;/p&gt;

&lt;p&gt;Seems like it would be useful to add both of these to the docs.&lt;/p&gt;</comment>
                            <comment id="3664978" author="clyde.bazile" created="Mon, 15 Mar 2021 18:03:15 +0000"  >&lt;p&gt;There shouldn&apos;t be any additional flags required. However, in v1.11, libmongoc added support for non-ASCII passwords using the library libicu as an optional dependency. Could you try explicitly disabling this by adding `-DMONGOC_ENABLE_ICU=OFF` to your list of CMake options?&lt;/p&gt;</comment>
                            <comment id="3664860" author="thijs@appsignal.com" created="Mon, 15 Mar 2021 17:26:25 +0000"  >&lt;p&gt;I&apos;m sure it might work on your machine, but in the context of the Rust build there definitively is an issue. See the output &lt;a href=&quot;https://appsignal.semaphoreci.com/jobs/fa7c93d6-88ed-4a2d-8b8c-ff4ce6dc7381&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I&apos;ve checked the build environment doc, all these dependencies are present in this build. Also this linked fine in the pre-cmake versions. So something changed and it appears some extra linking flags are needed now?&lt;/p&gt;</comment>
                            <comment id="3664812" author="clyde.bazile" created="Mon, 15 Mar 2021 17:11:22 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=thijs%40appsignal.com&quot; class=&quot;user-hover&quot; rel=&quot;thijs@appsignal.com&quot;&gt;thijs@appsignal.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for your patience. Unfortunately, this is not an issue I&apos;m able to reproduce locally. The only dependencies libmongoc requires are stated in the &lt;a href=&quot;http://mongoc.org/libmongoc/current/installing.html#build-environment&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;build-enviornment&lt;/a&gt; section of our docs. Alternatively, you may find it simpler to install libmongoc using a package manager (available on recent versions of Debian and Ubuntu). This will ensure all dependencies are installed automatically.&lt;/p&gt;</comment>
                            <comment id="3664701" author="thijs@appsignal.com" created="Mon, 15 Mar 2021 16:39:55 +0000"  >&lt;p&gt;Any updates on this? I&apos;d love to get a fully working release of the Rust driver out there &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;.&lt;/p&gt;</comment>
                            <comment id="3642383" author="clyde.bazile" created="Tue, 2 Mar 2021 16:50:59 +0000"  >&lt;p&gt;Hi Thijs,&lt;/p&gt;

&lt;p&gt;Thanks for reporting this issue. We will look into this soon.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1661969">CDRIVER-3939</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|hyis4n:</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>