Hi,
I'm attaching me to this thread with more or less the same issue, I'm doing an OS upgrade an not a clean installation with a running mongo on version 4.0.9
I run a Debian testing and need to upgrade to libcurl4 that breaks my mongodb installation since libcurl4 is needed.
As I saw in the mongo jira (SERVER-35885) the problem should be solved and looking at the "[mongodb-user] Re: libcurl3 dependency error" thread and your hint ( @acm ) with readelf, it yes clearly tells "libcurl.so.4" but I see the problem in the package it selfe.
# readelf -a mongod | grep curl | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libcurl.so.4]
# apt show mongodb-org-server | grep Depends
Depends: libc6 (>= 2.18), libcurl3 (>= 7.16.2), libgcc1 (>= 1:4.2), libssl1.1 (>= 1.1.0), adduser, tzdata
# apt install libcurl4
...snip...
The following packages will be REMOVED:
libcurl3 mongodb-org mongodb-org-server php7.0-curl
The following NEW packages will be installed:
libcurl4 php7.3-common php7.3-curl
...snip...
If there isn't any further problem with libcurl4, why don't update/change the depency inside the deb?
Thanks and greetings
Shin