Have you installed openssl? If so is it in your path?
From: [email protected] [mailto:[email protected]] On
Behalf Of Sherman Butler
Sent: Monday, October 24, 2011 11:18 AM
To: [email protected]
Subject: [ossec-list] Problem compiling OSSEC 2.5.1 on Solaris Sparc
I'm trying to compile a version of 2.5.1 on Solaris 10 Sparc and I'm having
trouble with the OS_Auth module. It's failing with a couple of fatal library
not found errors.
Version is ossec-hids-43e8b41a8195.tar
SunOS eciddev08 5.10 Generic_142900-02 sun4u sparc SUNW,Netra-210 Solaris
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009
Below is the failure section. And attached is the complete build output.
*** Making os_auth ***
make[1]: Entering directory `/var/tmp/junk/ossec-hids/src/os_auth'
gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/opsossec\" -DCLIENT
-DSOLARIS -DHIGHFIRST -DARGV0=\"ossec-authd\" -DXML_VAR=\"var\" -DOSSECHIDS
-lsocket -lnsl -lresolv main-server.c ssl.c ../addagent/validate.c
../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a
../os_regex/os_regex.a ../os_crypto/os_crypto.a ../os_zlib/os_zlib.c
../external/libz.a -lssl -lcrypto -o ossec-authd
ld: fatal: library -lssl: not found
ld: fatal: library -lcrypto: not found
ld: fatal: File processing errors. No output written to ossec-authd
collect2: ld returned 1 exit status
make[1]: *** [auth1] Error 1
make[1]: Leaving directory `/var/tmp/junk/ossec-hids/src/os_auth'
Error Making os_auth
make: *** [all] Error 1
Error 0x5.
Building error. Unable to finish the installation.
Thanks for any help resolving this.
Sherman Butler