On Mon, Dec 5, 2011 at 3:39 PM, Peter M Abraham
<[email protected]> wrote:
> Good day:
>
> I've tried to install / upgrade the latest ossec builds (retrieved
> using hg clone) on several CentOS agents with little success.
>
> Making os_auth ***
>
> make[1]: Entering directory `/usr/local/src/ossec-hids/src/os_auth'
> gcc -g -Wall -I../ -I../headers  -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -
> DUSE_OPENSSL -DUSEINOTIFY    -DARGV0=\"ossec-authd\" -DXML_VAR=\"var\"
> -DOSSECHIDS  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
> /usr/bin/ld: cannot find -lssl
> collect2: ld returned 1 exit status
> make[1]: *** [auth1] Error 1
> make[1]: Leaving directory `/usr/local/src/ossec-hids/src/os_auth'
>
> Error Making os_auth
> make: *** [all] Error 1
>
>  Error 0x5.
>  Building error. Unable to finish the installation.
>
>
> How can I fix the above?
>
> Thank you.

Install the openssl/libssl development package?

> /usr/bin/ld: cannot find -lssl

Reply via email to