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.
libldap-2.4.so.2 problems
Re: libldap-2.4.so.2 problems
First, change it back to 13.0.
The you can download the openldap-client from any slackware mirror, for example:
and replace the one from 13.1 with the one you downloaded:
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
Code: Select all
spkg -u openldap-client-2.3.43-i486-1.txz
Re: libldap-2.4.so.2 problems
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.
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.

Re: libldap-2.4.so.2 problems
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?
Re: libldap-2.4.so.2 problems
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.
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.

Re: libldap-2.4.so.2 problems
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.
Re: libldap-2.4.so.2 problems
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?
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?

Re: libldap-2.4.so.2 problems
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:But I can't use slapget and even if I did wouldn't I risk breaking the system?
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:I guess it's better to install the server again and not mess with it wouldn't you say?
rsync.antmon wrote:By the way what do you use for backup?
Re: libldap-2.4.so.2 problems
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
. 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!
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

