After running "make setdb" in the src directory, post the contents of
Config.OS. It should mention mysql.
For example mine has the line:
CDB=-I/usr/local/include/mysql  -pipe   -DUNIV_MUST_NOT_INLINE
-L/usr/local/lib/mysql -lmysqlclient -lz -lm  -lssl -lcrypto -DDBD
-DUMYSQL -I/usr/local/include/postgresql
-I/usr/local/include/postgresql -L/usr/local/lib
-L/usr/local/lib/postgresql -lpq -DDBD -DUP

It got that from running src/os_dbd/dbmake.sh, which you could use to
track down why it isn't seeing the mysql libraries.

On Wed, Mar 24, 2010 at 12:42 PM, Ozgur Ozdemircili
<[email protected]> wrote:
> Hi,
> Im trying to setup ossec for db output.According to the manual
> (http://www.ossec.net/wiki/Know_How:DatabaseOutput)
> Yet I keep getting:
> ossec-dbd(5207): ERROR: OSSEC not compiled with support for 'mysql'.
> Although I have tried the solution Daniel suggested
> here: http://www.mail-archive.com/[email protected]/msg03058.html
> I can see that l have Mysql in my path.
> [r...@server]/usr/lib/mysql>ldconfig -v | grep mysql
> /usr/lib/mysql:
> libmysqlclient.so.15 -> libmysqlclient.so.15.0.0
> libmysqlclient_r.so.15 -> libmysqlclient_r.so.15.0.0
>
> Thanks
> Özgür Özdemircili
> http://www.acikkod.org
> Code so clean you could eat off it
>
> To unsubscribe from this group, send email to
> ossec-list+unsubscribegooglegroups.com or reply to this email with the words
> "REMOVE ME" as the subject.
>

To unsubscribe from this group, send email to 
ossec-list+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to