./nginx: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No
时间: 2023-10-22 10:04:23 浏览: 211
problem. This error usually occurs when the system is unable to find the required shared library file "libcrypto.so.1.1". To resolve this issue, you can try the following steps:
1. Install the OpenSSL library: Run the following command to install OpenSSL on your system:
```
sudo apt-get install libssl-dev
```
2. Update the library cache: After installing the OpenSSL library, update the library cache using the following command:
```
sudo ldconfig
```
3. Restart nginx: Now, try restarting the nginx service by executing the following command:
```
sudo systemctl restart nginx
```
If these steps do not resolve the issue, you may need to check if the library file is present in the correct location or try reinstalling nginx.
阅读全文
相关推荐


















