Reputation: 69
I am trying to install lalsuite of LIGO. I installed all the dependencies. While configuring it is giving the following error for lalxml.
checking pkg-config is at least version 0.9.0... yes
checking for LIBXML2... no
checking for xmlInitParser in -lxml2... yes
checking libxml/tree.h usability... no
checking libxml/tree.h presence... no
checking for libxml/tree.h... no
configure: error: could not find the libxml/tree.h header
configure: error: ./configure failed for lalxml
I am using ubuntu 16.04LTS and the installed libxml2 version is
libxml2 is already the newest version (2.9.3+dfsg1-1ubuntu0.5).
Upvotes: 2
Views: 7155
Reputation: 1083
First remove old version.
sudo apt remove --purge libxml2 libxml2-dev (Warning: this will uninstall all packages that are dependent on libxml) Then update
sudo apt update
Finally install again.
sudo apt install libxml2 libxml2-dev
Upvotes: -1