curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

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

From: Andreas Hasenack via curl-users <curl-users_at_lists.haxx.se>
Date: Tue, 31 Jan 2023 11:10:28 -0300

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
<curl-users_at_lists.haxx.se> 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
Received on 2023-01-31