configure: error: Not found libxml2 library
时间: 2023-12-06 12:04:02 浏览: 54
To resolve the "configure: error: Not found libxml2 library" issue, you need to install the libxml2 library on your system. Here's how you can do it on different platforms:
1. Ubuntu/Debian:
Run the following command to install the libxml2 library:
```
sudo apt-get install libxml2-dev
```
2. CentOS/Fedora:
Use the following command to install the libxml2 library:
```
sudo yum install libxml2-devel
```
3. macOS (using Homebrew):
Open a terminal and execute the following command to install the libxml2 library:
```
brew install libxml2
```
After installing the libxml2 library, you should be able to proceed with your configuration without encountering the "Not found libxml2 library" error.