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

M K Saravanan via curl-users <[email protected]>
Newsgroups gmane.comp.web.curl.general
Message-ID <CAG5P2e-QSJOjaBgSTnhZorCnQn9ohTxmnyr6X+818KvAJFqO8Q@mail.gmail.com>
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
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.