In order to configure / recompile the package its not enough the set the --with-openssl, since the package depends on the md5.h to be in the local
package scope, which it is not. Adding CFLAGS="-I/usr/include/openssl" when configuring the package works: ./configure CFLAGS="-I/usr/include/openssl" To fix the package and build a new using dpkg-buildpackage 2 fixes is needed, 1. The package depends on an old version of libmysqlclient15-dev, one should use the pseudo package instead -debian/control:4 Build-Depends: libpam0g-dev, libmysqlclient15-dev, debhelper (>= 5.0.0), libssl-dev, dpatch +debian/control:4 Build-Depends: libpam0g-dev, libmysqlclient-dev, debhelper (>= 5.0.0), libssl-dev, dpatch 2. The rules for configure with-openssl should be updated to include the CFLAGS path for openssl -debian/rules:48 ./configure --prefix=/usr --with-openssl --with-pam_mods_dir=/lib/security --with-pam=/usr +debian/rules:48 ./configure --prefix=/usr --with-openssl --with-pam_mods_dir=/lib/security --with-pam=/usr CFLAGS="-I/usr/include/openssl" Building and installing the package after applying these fixes solved the problem. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org