You may get an error can not find libbz2 library package while installing / configuring package on CentOS,

#  ./configure

checking for rpm... /bin/rpm
checking for RPM version... 4.8.0
checking for BZ2_bzopen in -lbz2... no
configure: error: Can't find libbz2 library

We need to install bzip2 and bzip2-devel package on your system using YUM Command,
# yum install bzip2-devel

If you are using Ubuntu / Debian

Try with below command,
# apt-get install libbz2