libldap-2.4.so.2 problems

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
antmon
Posts: 130
Joined: 26. Nov 2009, 16:49

libldap-2.4.so.2 problems

Post by antmon »

Hello! First off all I would like to congratulate all the people that make Salix a great OS!
I have done something very stupid and changed the slapget repository from 13.0 to 13.1 and now I have this error: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or directory.
Can you help me or direct me in solution!?
Thank you.
Image
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: libldap-2.4.so.2 problems

Post by gapan »

First, change it back to 13.0.

The you can download the openldap-client from any slackware mirror, for example:

Code: Select all

wget http://ftp.ntua.gr/mirror/slackware/slackware-13.0/slackware/n/openldap-client-2.3.43-i486-1.txz
and replace the one from 13.1 with the one you downloaded:

Code: Select all

spkg -u openldap-client-2.3.43-i486-1.txz
Image
Image
User avatar
antmon
Posts: 130
Joined: 26. Nov 2009, 16:49

Re: libldap-2.4.so.2 problems

Post by antmon »

Thanks for your help Gapan!
Changed to 13.0 downloaded the openldap and spkg -u didn't do it. I had to do spkg --reinstall to install it. But I still have the problem. I tried ldapwhoami and got a can't connect to server.
Image
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: libldap-2.4.so.2 problems

Post by gapan »

It seems that your description of your problem was not accurate then, because you already had the right version of openldap-client. But did you replace other packages in your system? Any idea which ones? Does slapt-get work now or not? Which version of slapt-get do you have installed? What are the contents of your /etc/slapt-get/slapt-getrc?
Image
Image
User avatar
antmon
Posts: 130
Joined: 26. Nov 2009, 16:49

Re: libldap-2.4.so.2 problems

Post by antmon »

I have done a huge mistake judging by your reply. And this is my server!
I changed the slapgetrc to point to 13.1, then I upgraded the system. Since then I can't slapget anything since I get that error. The content off slapgetrc is equal to any other, I have just changed 13.0 to 13.1.
Image
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: libldap-2.4.so.2 problems

Post by gapan »

In that case, you need to replace the openldap-client package with the one from 13.1 and search the wiki to see how you should upgrade to 13.1 properly.
Image
Image
User avatar
antmon
Posts: 130
Joined: 26. Nov 2009, 16:49

Re: libldap-2.4.so.2 problems

Post by antmon »

But I can't use slapget and even if I did wouldn't I risk breaking the system?
I guess it's better to install the server again and not mess with it wouldn't you say?
By the way what do you use for backup?
Image
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: libldap-2.4.so.2 problems

Post by gapan »

antmon wrote:But I can't use slapget and even if I did wouldn't I risk breaking the system?
If you missed that part, your system is already broken. You did an incomplete upgrade. If you install openldap-client from 13.1, slapt-get will probably work. Or maybe you will need to upgrade another dependency manually too.
antmon wrote:I guess it's better to install the server again and not mess with it wouldn't you say?
Depends. On how competent you are, how fast you want to get over with it and how much you want to learn from it.
antmon wrote:By the way what do you use for backup?
rsync.
Image
Image
User avatar
antmon
Posts: 130
Joined: 26. Nov 2009, 16:49

Re: libldap-2.4.so.2 problems

Post by antmon »

Thanks Gapan for your help!
I guess I am going to install it again, has I was thinking in changing to a system that consumes less power. I have been around Linux for over a decade and I use it only in my spare time but, I'm not that good, unfortunately :x . And Slackware and now Salix, are my choices. Don't misinterpret what I say I think all you guys rock and I would love to do what you do. Thanks for all help!
Image
Post Reply