centos7 mysqld: error while loading shared libraries: libprotobuf-lite.so.3.19.4
时间: 2024-05-19 22:12:38 浏览: 142
This error occurs when the libprotobuf-lite.so.3.19.4 library is missing or not installed on the system. To resolve this issue, follow these steps:
1. Check if the library is already installed on the system by running the following command:
`ldconfig -p | grep libprotobuf-lite.so.3.19.4`
If the library is installed, the command will display its path. If not, proceed to the next step.
2. Install the library using the package manager of your operating system. For CentOS 7, run the following command:
`sudo yum install protobuf-lite`
This will install the latest version of the library and its dependencies.
3. Once the installation is complete, run the following command to update the system's library cache:
`sudo ldconfig`
4. Restart the mysqld service using the following command:
`sudo systemctl restart mysqld`
This should resolve the error and allow mysqld to start without any issues.
阅读全文