On Mon, Dec 12, 2016 at 7:35 PM,  <[email protected]> wrote:
> Hi,
>
> There hasn't been any action on this topic for over a year but it was never
> answered and I'm running into the same issue.  What libraries is it looking
> for?  Is there somewhere that I can look at, possibly edit the list?  Why
> does it look for particular libraries, couldn't I just specify the type of
> database (MySQL or PostgreSql) that I want to use?
>


I just did a quick test with mariadb and ossec MASTER, and it seems to
work just fine. I didn't do extensive testing though.

root@maria-test:~/src/ossec-hids/src# dpkg --list | grep maria
ii  libmariadbclient-dev             5.5.53-1ubuntu0.14.04.1
amd64        MariaDB database development files
ii  libmariadbclient18:amd64         5.5.53-1ubuntu0.14.04.1
amd64        MariaDB database client library
ii  mariadb-client                   5.5.53-1ubuntu0.14.04.1
all          MariaDB database client (metapackage depending on the
latest version)
ii  mariadb-client-5.5               5.5.53-1ubuntu0.14.04.1
amd64        MariaDB database client binaries
ii  mariadb-client-core-5.5          5.5.53-1ubuntu0.14.04.1
amd64        MariaDB database core client binaries
ii  mariadb-common                   5.5.53-1ubuntu0.14.04.1
all          MariaDB common metapackage
ii  mariadb-server                   5.5.53-1ubuntu0.14.04.1
all          MariaDB database server (metapackage depending on the
latest version)
ii  mariadb-server-5.5               5.5.53-1ubuntu0.14.04.1
amd64        MariaDB database server binaries
ii  mariadb-server-core-5.5          5.5.53-1ubuntu0.14.04.1
amd64        MariaDB database core server files



A lot of the necessary bits should be in the Makefile after "ifdef DATABASE."



> Natassia
>
> On Tuesday, September 22, 2015 at 7:24:08 PM UTC-7, dan (ddpbsd) wrote:
>>
>> On Sat, Sep 19, 2015 at 10:42 AM, Kai Chung Lau <[email protected]>
>> wrote:
>> > I know Ossec supports PostgreSql and Mysql, but since MariaDb is the
>> > drop-in
>> > replacement for Mysql, can Ossec also work with Mariadb?
>> >
>> > I have tried recompiling Ossec but it doesn't work.
>> > [root@ju src]# make setdb;
>> >
>> > Error: PostgreSQL client libraries not installed.
>> >
>> > Error: DB libraries not installed.
>> >
>>
>> Perhaps your distro is putting things in places OSSEC doesn't expect?
>> You're not giving us much to go on.
>>
>> > --
>> >
>> > ---
>> > 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.

-- 

--- 
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