PDA

View Full Version : [ubuntu] Dependency missing, but apparently installed and up to date...



cparks0225
February 11th, 2009, 06:21 PM
I'm getting confusing and seemingly conflicting messages when attempting to compile some third party software, wondering if anybody has seen this before.

Running ./configure gives me the following:


checking for LIBXML2... configure: error: Package requirements (libxml-2.0 >= 2.6.0) were not met:

No package 'libxml-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBXML2_CFLAGS
and LIBXML2_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

However, attempting to run "apt-get install libxml2", I get this:


Reading package lists... Done
Building dependency tree
Reading state information... Done
libxml2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Any help is greatly appreciated.
Thank you,
~CParks

Partyboi2
February 12th, 2009, 12:23 AM
When compiling generally you need to install the development packages of the packages that it complains about that are missing so install libxml2-dev

sudo apt-get install libxml2-dev

cparks0225
February 12th, 2009, 08:36 PM
That did the trick, thanks :)