I'm trying to make one bitcoin-like daemon on my Ubuntu 14.04.3.
When I hit ./configure
:
checking for SSL... no
configure: error: openssl not found.
but
# apt-get install libssl-dev linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version.
linux-headers-3.13.0-61-generic is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I googled the error message but I haven't any idea what to do. I successfully maked exactly that one daemon on my other Ubuntu 14.04 so the sources and configuration scripts are good.
UPD1. Installing openssl didn't help:
# apt-get install openssl
..
openssl is already the newest version.
..
I've checked config.log and there're nothing about openssl at the end - HAVE_WORKING_BOOST_SLEEP_FOR
refers to checking for dynamic linked boost test... yes
- last successful line from ./configure
output:
# tail config.log
#define HAVE_BOOST /**/
#define HAVE_BOOST_SYSTEM /**/
#define HAVE_BOOST_FILESYSTEM /**/
#define HAVE_BOOST_PROGRAM_OPTIONS /**/
#define HAVE_BOOST_THREAD /**/
#define HAVE_BOOST_CHRONO /**/
#define HAVE_BOOST_UNIT_TEST_FRAMEWORK /**/
#define HAVE_WORKING_BOOST_SLEEP_FOR 1
configure: exit 1
UPD2. I've found that in log, quite far from the end:
configure:25626: checking for SSL
configure:25633: $PKG_CONFIG --exists --print-errors "libssl"
Package libssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libssl' found
configure:25636: $? = 1
configure:25650: $PKG_CONFIG --exists --print-errors "libssl"
Package libssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libssl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libssl' found
configure:25653: $? = 1
configure:25667: result: no
No package 'libssl' found
configure:25683: error: openssl not found.
config.log
for the exact command that's failing (it will be right near the end) and edit your question to include it, and we can suggest what you are missing./usr/lib/<arch>/pkgconfig/libssl.pc
exist?/usr/lib/pkgconfig/; /usr/share/pkgconfig/; /usr/local/lib/pkgconfig/
don't containlibssl.pc