Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install libgcal, and when I run ./configure I get the following error:

configure: error: "* libxml2 not found! You need it to build Library gcalendar. *"

I installed libxml2 from the repositories but it still gives me this error. Can someone please help?

share|improve this question
up vote 1 down vote accepted

You need to install libxml2-dev ; the compiler needs the header files for this library to compile code against it's API. This is true of most binary libraries (but not libraries for scripting languages like Python).

share|improve this answer
Of course! I haven't compiled in so long I forgot you usually need the dev package. Thanks! – xjonquilx Jun 18 '12 at 17:06

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.