9
1
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.
1libssl-dev is not openssl. Try installing the latter. If that doesn't help, then check
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. – a CVn – 2015-10-16T21:59:45.893@MichaelKjörling: But autoconf output isn't Debian package names, either… It's more likely that it refers to pkg-config packages (and libssl-dev does include openssl.pc). – user1686 – 2015-10-16T23:00:38.853
Updated. Is there anything else I can check? – user510433 – 2015-10-17T09:14:16.457
Does the file
/usr/lib/<arch>/pkgconfig/libssl.pc
exist? – Gowtham – 2015-10-17T12:02:30.923What is <arch>?
/usr/lib/pkgconfig/; /usr/share/pkgconfig/; /usr/local/lib/pkgconfig/
don't containlibssl.pc
– user510433 – 2015-10-17T12:45:00.443