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

  • From: M K Saravanan <mksarav@xxxxxxxxx>
  • To: ilugc@xxxxxxxxxxxxx
  • Date: Wed, 6 Sep 2023 22:37:58 +0800

Baskar wrote:
----------
It's simple, the extracted package should contain two .so files
libldap_r-2.4.so.2
liblber-2.4.so.2

You have moved only the first file, move the other file also to
/usr/lib/x86_64-linux-gnu/
-----------

I did this now.  It now shows a new error:

$ curl -V
curl: error while loading shared libraries: libgssapi.so.3: cannot open
shared object file: No such file or directory


Ideally uninstalling the curl package and reinstalling should work right?
But even that is not working.


On Wed, 6 Sept 2023 at 19:20, Baskar Selvaraj <baskar@xxxxxxxxxxxx> wrote:


But now it gives a diff missing lib error  "liblber-2.4.so.2"

----------
$ pwd
/usr/lib/x86_64-linux-gnu
mksarav@ubuntu2204:/usr/lib/x86_64-linux-gnu$ ls -l *ldap*2.4*
lrwxrwxrwx 1 mksarav mksarav     23 May 12  2022 libldap_r-2.4.so.2 ->
libldap_r-2.4.so.2.10.8
-rwxr-xr-x 1 mksarav mksarav 327024 May 12  2022 libldap_r-2.4.so.2.10.8
mksarav@ubuntu2204:/usr/lib/x86_64-linux-gnu$ curl -V
curl: error while loading shared libraries: liblber-2.4.so.2: cannot open
shared object file: No such file or directory
------------------
What is the next step?

It's simple, the extracted package should contain two .so files

libldap_r-2.4.so.2
liblber-2.4.so.2

You have moved only the first file, move the other file also to
/usr/lib/x86_64-linux-gnu/

Now curl should work for you.

S. Baskar
---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat




---
Mailing List Guidelines: https://ilugc.in/mailing-list-guidelines
Web: http://ilugc.in/
Internet Relay Chat: #ilugc on libera.chat

Other related posts: