I need to use libssl-dev 1.0.2g to compile some old codes.
I followed the guides in stackoverflow but it does not work in my case. This is my /etc/apt/sourcelist
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free rpi
deb-src http://ftp.us.debian.org/debian/ stretch main contrib non-free rpi
apt-cache madison openssl1.0, I can see:
openssl1.0 | 1.0.2r-1~deb9u1 | http://ftp.us.debian.org/debian/ stretch/main Sources**
sudo apt-get install openssl1.0 gives:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package openssl1.0
E: Couldn't find any package by regex 'openssl1.0'
Please let me know if you have any insight or ideas. Thanks a lot!