February 2008
I try to compile the latest OpenSSL, and the compiler barfs that it cannot find the most basic of include files.
Problem: the libc6-dev
package hasn't been installed (as it shouldn't be on a server, but that's another matter).
Solution: apt-get install libc6-dev
Problem: libc6-dev won't install, because libc6 is the wrong (too high) version.
Cause: somebody has installed one from another version of Debian (this is Etch), which can still be seen in the history (dpkg -i libc6_2.7-8_amd64.deb).
Solution: apt-get install libc6=2.3.6.ds1-13etch5 && apt-get install libc6-dev
Now OpenSSL does compile.
So we do cd /home/jurjen/src/openssl-whateverversion ; ./config --prefix=/home/jurjen/openssl
Then we do make && make install
Then we proceed to BIND: cd /home/jurjen/bind-someversion ; ./configure --prefix=/home/jurjen/bind --with-openssl=/home/jurjen/openssl [8]
We proceed with make install.
[8] BIND deems some versions of OpenSSL too old, and will complain if it encounters one. It didn't, so apparently it is satisfied with the OpenSSL I offered