yum install sqlite-devel

It's a requirement for the md5 whitelist feature in master

On Jan 5, 2018 9:24 AM, "[email protected]" <[email protected]> wrote:

> Hi, I got these errors when trying to install OSSEC onto a Centos 6.9
>
> In file included from analysisd/analysisd.c:44:
> analysisd/syscheck-sqlite.h:1:21: error: sqlite3.h: No such file or
> directory
> In file included from analysisd/analysisd.c:44:
> analysisd/syscheck-sqlite.h:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> analysisd/analysisd.c: In function ‘OS_ReadMSG’:
> analysisd/analysisd.c:660: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
> ‘__attribute__’ before ‘*’ token
> analysisd/analysisd.c:660: error: ‘conn’ undeclared (first use in this
> function)
> analysisd/analysisd.c:660: error: (Each undeclared identifier is reported
> only once
> analysisd/analysisd.c:660: error: for each function it appears in.)
> analysisd/analysisd.c:664: warning: implicit declaration of function
> ‘sqlite3_open’
> make: *** [analysisd/analysisd-live.o] Error 1
>
>  Error 0x5.
>  Building error. Unable to finish the installation.
>
> It would seem that the sqlite3.h file is missing from the git clone.
>
> Can someone advise the best way to resolve this?
>
> Many thanks,
>
> Mark
>
> --
>
> --- You received this message because you are subscribed to the Google
> Groups "ossec-list" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"ossec-list" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to