Monday, March 28, 2011

configure: error: Please reinstall the BZip2 distribution (Errors & Solutions #10)

While Building lampp stack on Ubuntu i faced the following errors

Errors:

configure: error: Please reinstall the BZip2 distribution
configure: error: xml2-config not found. Please check your libxml2 installation.
configure: error: Cannot find OpenSSL's <evp.h>


Solution:

The solution to all these problems was to install the corresponding dev libraries

example:
apt-get install libbz2-dev
apt-get install libxml2-dev


2 comments:

  1. I can't believe ubuntu uses 'libbz2-dev' instead of something like libbzip2-dev in order that it be easily found in an 'aptitude search bzip2' inquiry. To make matters worse, they do have a 'libbzip2' package.

    Thanks Karim

    ReplyDelete