Ran into this error when I was trying to compile nginx from source:
./configure: error: the HTTP XSLT module requires the libxml2/libxslt libraries. You can either do not enable the module or install the libraries.
Luckily there’s a quick fix for this, issue the following command shell to install the required libraries
yum install libxslt-devel
That should be it.