<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:41:20 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>[SERVER-35885] libcurl Dependency Issues on Latest Debian Based Distros</title>
                <link>https://jira.mongodb.org/browse/SERVER-35885</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;It seems that we need to adjust our MongoDB 4.0 build and packaging process on newer Debian based distros (e.g. Debian 9 and Ubuntu 18.04) as libcurl4 is the version of the library that the OS uses for the curl client itself and any other packages which have a libcurl dependency--whereas mongod has an explicit dependency on libcurl3.&#160;Examples of user reported issues can be seen on the &lt;a href=&quot;https://groups.google.com/forum/#!msg/mongodb-user/_ojqYRYsh5g/DJet_3BmCQAJ&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;user mailing list&lt;/a&gt;.&#160;&lt;/p&gt;

&lt;p&gt;More generally we should verify that our build and packaging processes always ensure that mongod depends upon and links in the default libcurl library provided by the given host OS. &#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="565228">SERVER-35885</key>
            <summary>libcurl Dependency Issues on Latest Debian Based Distros</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="13202">Works as Designed</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="matt.lord">Matt Lord</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Jun 2018 16:23:58 +0000</created>
                <updated>Fri, 27 Oct 2023 13:53:41 +0000</updated>
                            <resolved>Sun, 1 Jul 2018 21:46:49 +0000</resolved>
                                    <version>4.0.0</version>
                                                                        <votes>0</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="3057387" author="hendy@hendyirawan.com" created="Mon, 27 Apr 2020 20:04:38 +0000"  >&lt;p&gt;Historical note: This was an issue for Rocket.Chat:&#160;&lt;a href=&quot;https://forums.rocket.chat/t/mongodb-wont-install-on-debian/4152/6?u=hendy&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://forums.rocket.chat/t/mongodb-wont-install-on-debian/4152/6?u=hendy&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2107814" author="kay.kim@10gen.com" created="Mon, 7 Jan 2019 20:53:55 +0000"  >&lt;p&gt;Reordered and bolded and also, updated the sentence &lt;br/&gt;
&quot;Create the /etc/apt/sources.list.d/mongodb-org-4.0.list file&quot; to&quot;Create the /etc/apt/sources.list.d/mongodb-org-4.0.list file for Ubuntu ...&quot;  &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="2107414" author="henrik.ingo@10gen.com" created="Mon, 7 Jan 2019 18:05:59 +0000"  >&lt;blockquote&gt;
&lt;p&gt;Can reorder tabs so that 18.04 is the default.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Cool. I think this is the biggest improvement.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Would it help if I bold the Ubuntu version in the second sentence (after the reordering)&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Can&apos;t hurt, but the real problem of course is that I don&apos;t read the text at all &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="2106431" author="kay.kim@10gen.com" created="Sat, 5 Jan 2019 15:48:44 +0000"  >&lt;p&gt;Can reorder tabs so that 18.04 is the default.&lt;/p&gt;

&lt;p&gt;Since currently in &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#create-a-list-file-for-mongodb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/#create-a-list-file-for-mongodb&lt;/a&gt;, we state:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Click on the appropriate tab for your version of Ubuntu.&lt;/p&gt;
&lt;div class=&apos;table-wrap&apos;&gt;
&lt;table class=&apos;confluenceTable&apos;&gt;&lt;tbody&gt;
&lt;tr&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Ubuntu 14.04 (Trusty)&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Ubuntu 16.04 (Xenial)&lt;/td&gt;
&lt;td class=&apos;confluenceTd&apos;&gt;Ubuntu 18.04 (Bionic)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;


&lt;p&gt;The following instruction is for Ubuntu 14.04 (Trusty). For Ubuntu 16.04 (Xenial) or Ubuntu 18.04 (Bionic), click on the appropriate tab.&lt;/p&gt;

&lt;p&gt;Create the /etc/apt/sources.list.d/mongodb-org-4.0.list file:&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Would it help if I bold the Ubuntu version in the second sentence (after the reordering)&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;The following instruction is for &lt;b&gt;Ubuntu 14.04 (Trusty)&lt;/b&gt;. For Ubuntu 16.04 (Xenial) or Ubuntu 18.04 (Bionic), click on the appropriate tab.&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="2102338" author="henrik.ingo@10gen.com" created="Mon, 31 Dec 2018 10:28:30 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kay.kim&quot; class=&quot;user-hover&quot; rel=&quot;kay.kim&quot;&gt;kay.kim&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matt.lord&quot; class=&quot;user-hover&quot; rel=&quot;matt.lord&quot;&gt;matt.lord&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m posting this here mostly for the benefit of anyone that may find this issue due to the same reason as I did.&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;On Ubuntu 18.04 I followed &lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/&lt;/a&gt;&lt;/li&gt;
	&lt;li&gt;It turns out the new tab system in the manual defaults to give instructions for the oldest LTS, 14.04. I didn&apos;t notice this.&lt;/li&gt;
	&lt;li&gt;The installation then either fails or uninstalls libcurl4 and its dependencies. (depending on how hard I forced it)&lt;/li&gt;
	&lt;li&gt;The fix is to ensure one has 18.04 == bionic in /etc/sources.list.d/mongodb-org-4.0.list&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;As a potential docs improvement, it would IMO make more sense to default to the newest version of each OS.&lt;/p&gt;</comment>
                            <comment id="1959480" author="matt.lord" created="Sun, 29 Jul 2018 15:11:17 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bhawnesh_dipu&quot; class=&quot;user-hover&quot; rel=&quot;bhawnesh_dipu&quot;&gt;bhawnesh_dipu&lt;/a&gt;!&#160;&lt;/p&gt;

&lt;p&gt;We know that this was a problem when using the Ubuntu 16.04 packages on Ubuntu 18.04&#8211;which was happening because we had no Ubuntu 18.04 support in 4.0.0 GA so no Ubuntu 18.04 packages. We&apos;ve just added support for Ubuntu 18.04 with the 4.0.1 GA maintenance release. It&apos;s going through a brief testing phase before it gets the final &quot;production ready&quot; stamp, but you can currently get the 4.0.1-rc builds on the &lt;a href=&quot;https://www.mongodb.com/download-center#development&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Development Releases downloads page&lt;/a&gt; (just change the version field to 4.0.1-rc0). Here&apos;s a &lt;a href=&quot;https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-4.0.1-rc0.tgz&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;direct link&lt;/a&gt; that you can use to get the package with curl or wget.&#160;&lt;/p&gt;

&lt;p&gt;Barring any unexpected issues, that will soon be the version of 4.0 &#8211; &quot;Current Stable Release (4.0.1)&quot; &#8211; that will be on the &lt;a href=&quot;https://www.mongodb.com/download-center#production&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Current Release downloads page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;So while we appreciate you sharing the workaround that seemed to work for you, we don&apos;t recommend that you or others take those steps today. Instead we recommend that you use the 4.0.1+ Ubuntu 18.04 packages. Please do let us know if you still encounter any issues with the 18.04 packages.&lt;/p&gt;

&lt;p&gt;Thank you for using MongoDB!&#160;&lt;/p&gt;

&lt;p&gt;Matt&lt;/p&gt;</comment>
                            <comment id="1959456" author="bhawnesh_dipu" created="Sun, 29 Jul 2018 11:38:18 +0000"  >&lt;p&gt;You have to do some custom things in order to run mongodb 4.0 in ubuntu 18.10 .&lt;/p&gt;

&lt;p&gt;sudo apt-get install libcurl3&lt;/p&gt;

&lt;p&gt;locate libcurl3 file likely in /usr/lib/x86_64-linux-gnu/&lt;/p&gt;

&lt;p&gt;make a LD_LIBRARY folder in home.&lt;/p&gt;

&lt;p&gt;cp /usr/lib/x86_64-linux-gnu/libcurl.so.4 /home/user/LD_LIBRARY&lt;br/&gt;
mv /home/user/LD_LIBRARY/libcurl.so.4 /home/user/LD_LIBRARY/libcurl.so.3&lt;br/&gt;
make a link of libcurl3 by :&lt;/p&gt;

&lt;p&gt;ln -s libcurl.so.3 libcurl.so.4&lt;br/&gt;
echo &quot;export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/LD_LIBRARY/&quot; &amp;gt;&amp;gt; ~/.bashrc&lt;br/&gt;
source ~/.bashrc&lt;/p&gt;

&lt;p&gt;now start mongod it will run.&lt;/p&gt;

&lt;p&gt;Also now you can install&lt;/p&gt;

&lt;p&gt;sudo apt-get install libcurl4 php-curl&lt;/p&gt;

&lt;p&gt;And use all the application require php-curl and libcurl4&lt;/p&gt;</comment>
                            <comment id="1935728" author="acm" created="Sun, 1 Jul 2018 21:46:50 +0000"  >&lt;p&gt;The mailing list errors were the result of running 16.04 binaries (which have a hard curl3 dependency) on Ubuntu 18.04.&lt;/p&gt;</comment>
                            <comment id="1934089" author="acm" created="Thu, 28 Jun 2018 18:17:19 +0000"  >&lt;p&gt;Yes, I suspect that is what happened in that thread. I&apos;ve followed up to see if we can get more information to confirm that.&lt;/p&gt;</comment>
                            <comment id="1934036" author="mark.benvenuto" created="Thu, 28 Jun 2018 17:39:43 +0000"  >&lt;p&gt;In Ubuntu 18.04, Ubuntu created two packages that install (libcurl3 and libcurl4) the same binary (libcurl.so.4). These packages conflict. Our 16.04 binary needs libcurl3 when run on 18.04.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="625614">SERVER-37768</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 28 Jun 2018 17:09:41 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 41 weeks, 2 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 41 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>bhawnesh_dipu</customfieldvalue>
            <customfieldvalue>hendy@hendyirawan.com</customfieldvalue>
            <customfieldvalue>henrik.ingo@mongodb.com</customfieldvalue>
            <customfieldvalue>kay.kim@mongodb.com</customfieldvalue>
            <customfieldvalue>mark.benvenuto@mongodb.com</customfieldvalue>
            <customfieldvalue>matt.lord</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu1lvr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr8lbr:</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>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hu1853:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>