OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.
I reported the following error when installing ossec-2.9.2(My current environment is Centos6.3, and openssl version is openssl-1.1.1i)
"""
make[1]: Leaving directory /usr/local/ossec-hids-2.9.3/src/external/lua-5.2.3' CC agent-auth os_auth/ssl.o: In functionget_ssl_context':
ssl.c:(.text+0x256): undefined reference to OPENSSL_init_ssl' ssl.c:(.text+0x262): undefined reference toOPENSSL_init_ssl'
ssl.c:(.text+0x26e): undefined reference to OPENSSL_init_crypto' ssl.c:(.text+0x275): undefined reference toTLSv1_2_method'
ssl.c:(.text+0x28f): undefined reference to SSL_CTX_set_options' os_auth/check_cert.o: In functionasn1_to_cstr':
check_cert.c:(.text+0x44): undefined reference to ASN1_STRING_data' os_auth/check_cert.o: In functioncheck_subject_alt_names':
check_cert.c:(.text+0x50c): undefined reference to OPENSSL_sk_num' check_cert.c:(.text+0x51f): undefined reference toOPENSSL_sk_value'
collect2: ld returned 1 exit status
make: *** [agent-auth] Error 1
Error 0x5.
Building error. Unable to finish the installation.
"""
I really don't know how to solve ,who can help me
Thanks
I reported the following error when installing ossec-2.9.2(My current environment is Centos6.3, and openssl version is openssl-1.1.1i) """ make[1]: Leaving directory
/usr/local/ossec-hids-2.9.3/src/external/lua-5.2.3' CC agent-auth os_auth/ssl.o: In function
get_ssl_context': ssl.c:(.text+0x256): undefined reference toOPENSSL_init_ssl' ssl.c:(.text+0x262): undefined reference to
OPENSSL_init_ssl' ssl.c:(.text+0x26e): undefined reference toOPENSSL_init_crypto' ssl.c:(.text+0x275): undefined reference to
TLSv1_2_method' ssl.c:(.text+0x28f): undefined reference toSSL_CTX_set_options' os_auth/check_cert.o: In function
asn1_to_cstr': check_cert.c:(.text+0x44): undefined reference toASN1_STRING_data' os_auth/check_cert.o: In function
check_subject_alt_names': check_cert.c:(.text+0x50c): undefined reference toOPENSSL_sk_num' check_cert.c:(.text+0x51f): undefined reference to
OPENSSL_sk_value' collect2: ld returned 1 exit status make: *** [agent-auth] Error 1Error 0x5. Building error. Unable to finish the installation. """ I really don't know how to solve ,who can help me Thanks