Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides
https://forum.ivorde.com/

ipsec-tools: configure: error: OpenSSL version must be 0.9.8s or higher.
https://forum.ivorde.com/ipsec-tools-configure-error-openssl-version-must-be-0-9-8s-or-higher-t19361.html
Page 1 of 1

Author:  admin [ Tue Jan 06, 2015 4:13 pm ]
Post subject:  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.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/