ipsec-tools: configure: error: OpenSSL version must be 0.9.8s or higher.
configure: error: OpenSSL version must be 0.9.8s or higher. ipsec-tools compile error
The following compile error appears on Linux when ipsec-tools is compiled and libraries are missing.
Code:
checking for readline/readline.h... no
checking if --with-flex option is specified... dirdefault
checking if --with-flexlib option is specified... /usr/lib/libfl.a
checking if --with-openssl option is specified... /usr/local/
checking openssl version... too old
configure: error: OpenSSL version must be 0.9.8s or higher. Aborting.
Checking the file "config.log" shows a missing header file "opensslv.h".
Code:
configure:12798: checking if --with-openssl option is specified
configure:12806: result: /usr/local/
configure:12813: checking openssl version
configure:12830: gcc -c -fno-strict-aliasing -I/usr/local//include -D_GNU_SOURCE -include ./src/include-glibc/glibc-bugs.h -I./src/include-glibc -I./src/include-glibc -I/usr/include conftest.c >&5
conftest.c:43:30: fatal error: openssl/opensslv.h: No such file or directory
compilation terminated.
configure:12830: $? = 1
configure: failed program was:
| /* confdefs.h */
The missing libary is libssl-dev. Installing it in Debian with the following command:
Code:
# apt-get install libssl-dev
And compilation goes on.
_________________
VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX
https://vpsie.com