configure: error: Please reinstall the BZip2 distribution

Rozwiąż błąd "configure: error: Please reinstall the BZip2 distribution" w PHP. Dowiedz się, które pakiety zainstalować na Debian, Ubuntu, CentOS i Fedora!

W czasie kompilacji PHP możemy napotkać się na kilka błędów, głównie wynikających z braku bibliotek developerskich, oto jeden z nich:

configure: error: Please reinstall the BZip2 distribution.

W celu wyeliminowania w/w błędu instaliujemy następujący pakiet:

  • Debian / Ubuntu : install libbz2-dev (32/64 bit)
  • RedHat / CentOS / Fedora : yum install bzip2-devel.x86_64 (64 bit) / yum install bzip2-devel (32 bit)