Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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.