- Check your openssl version used command $ sudo openssl version
- If your version not 1.0.1g or 0.9.8, suggest to update openssl to 1.0.1g.
- Remove original openssl $ sudo apt-get purge openssl
- $ sudo
apt-get autoremove && apt-get autoclean
Download 1.0.1g source
$ ./config --prefix=/usr/
$ make
$ make install_sw
Used command $ sudo openssl version check your openssl version.
Reference:
make: *** [install_docs] Error 255
Documentation fixes for openssl-1.0.1g(Ubuntu 14.04)
Upgrade OpenSSL on Ubuntu 14.04