Re: post upgrade to Ubuntu 22.04 - curl error - libldap_r-2.4.so.2 cannot open shared object file.

Andreas Hasenack via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <CANYNYEFazBdfcpR6v59_Y0o+xfqMN9oF5Fcyod7=V-K7Rb40gA@mail.gmail.com>
Did you build curl yourself while you were in the previous ubuntu
release? Ubuntu 22.04 ships openldap 2.5, not 2.4.

If not, then you likely didn't upgrade curl during this upgrade,
perhaps something failed. In Ubuntu 22.04, you should have curl
7.81.0-1ubuntu1.7

On Tue, Jan 31, 2023 at 11:03 AM M K Saravanan via curl-users
<[email protected]> wrote:
>
> Hi,
>
> After upgrading to Ubuntu 22.04, when I run the curl command it is giving this error (before upgrade it was working fine).
>
> /usr/bin/curl: error while loading shared libraries: libldap_r-2.4.so.2: cannot open shared object file: No such file or directory
>
> I removed curl using apt and then reinstalled again, but still getting the same error.
>
> How to resolve this error?
>
> with regards,
> mks
> --
> Unsubscribe: https://lists.haxx.se/listinfo/curl-users
> Etiquette:   https://curl.se/mail/etiquette.html
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.