I use Arch Linux (x86_64)
I updated my repositories today with the following command
Sudo Packman -Syu
But the xampp program no longer runs
Stopping all servers...
Restarting all servers...
Starting MySQL Database...
Starting Apache Web Server...
Exit code: 8
Stdout:
apache config test fails, aborting
Stderr:
/opt/lampp/bin/httpd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
Starting ProFTPD...
Exit code: 8
Stdout:
proftpd config test fails, aborting
Stderr:
/opt/lampp/sbin/proftpd: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
After a bit of checking I found that the libcrypt.so.1 file exists
Output the command locate libcrypt.so.1
[ahmadreza@ahmadreza-sys ~]$ locate libcrypt.so.1
/usr/lib/libcrypt.so.1
The version of the files is as follows:
[root@ahmadreza-sys lib]# file libcrypto.so.1*
libcrypto.so.1.1: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=4c926b672d97886b123e03a008387aecf0786de4, stripped
[root@ahmadreza-sys lib]#
output command sudo ldconfig -v | grep libcrypt
[ahmadreza@ahmadreza-sys ~]$ sudo ldconfig -v | grep libcrypt
ldconfig: Path `/usr/lib64' given more than once
(from <builtin>:0 and <builtin>:0)
ldconfig: Can't stat /usr/libx32: No such file or directory
libcrypt.so.2 -> libcrypt.so.2.0.0
libcrypto.so.1.1 -> libcrypto.so.1.1
libcryptsetup.so.12 -> libcryptsetup.so.12.7.0
[ahmadreza@ahmadreza-sys ~]$
cammand outout file /opt/lampp/bin/httpd
[ahmadreza@ahmadreza-sys ~]$ file /opt/lampp/bin/httpd
/opt/lampp/bin/httpd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=00effd3a02918135bf3106612c2b59866e4f92fe, stripped
[ahmadreza@ahmadreza-sys ~]$
How can I fix it?
/usr/lib/libcrypt.so.1
32 or 64 bit? It's probable that it should also point to /usr/lib/libcrypt.so.1.1 or similar.file /usr/lib/libcrypt.so.1*
.