Good day,
Apache stopped working, after system update : Atltntis. Error:
/opt/lampp/bin/httpd: error while loading shared libraries:
libcrypt.so.1: cannot open shared object file: No such file or directory.
Tried
‘sudo pacman -S libssl1.0.0’.
‘ln -s libcrypt.so.2 libcrypt.so.1’ Didn’t help.
‘yay -S libxcrypt-compat’ : gives errors here.
The error occurred after an update on the laptop.
A couple of days later I did an update on a PC and got the same ,
i.e. Apache does not work and the error is the same.
So it’s very likely that it’s about system update.
What else to do, I do not know, please help.
THANK YOU.
If you use Apache from the repository then it’s built against system libraries.
If you want to use a third-party installer then putting it in a VM or container will be the better approach. You’ll probably find there are VM appliances and containers already available that make setup easy (not that Apache is massively difficult to set up as it is).
That is just an AUR package of the thing you had before. It just runs the xammp installer. That isn’t a copy of Apache built against the repos.
Sounds like a bug. You can always use a yay or another AUR helper.
That being said, if you really must use “XAMPP” instead of proper installs of it’s components or installing it in a container, you can try installing the package libxcrypt-compat
Yay is telling you not to run it using sudo, but you do it anyway. The fact it doesn’t work correctly as your normal user should highlight there’s a problem.