Hi Dan, thanks for the reply. i'd been having problems using the make
setdb, which i resolved by moving the ${CDB} tag to the end of the line (on
another post in here). because i'd tried to build whilst this issue was
present i decided to reinstall the OS and start from scratch.
It now works..
Cheers
Chris
On Friday, June 22, 2012 1:03:18 PM UTC+1, dan (ddpbsd) wrote:
>
> On Fri, Jun 22, 2012 at 5:27 AM, Chris Billson <> wrote:
> > Server is Ubuntu 12.04, I installed LAMP during setup, post setup I
> > installed gcc, build essentials (book says glibc-dev but I’m unable to
> > locate this) and I installed libmysqlclient-dev as make setDB gave the
> > message “Error: DB libraries not installed.”
> >
> >
> > When I enable DB support as per the instructions, I think it finishes
> > correctly.
> >
> >
> >
> > ossec-hids-2.6/src$ sudo make setdb
> >
> > Error: PostgreSQL client libraries not installed.
> >
> > Info: Compiled with MySQL support.
> >
> >
> >
> > During make os_auth:
> >
> > make[1]: Entering directory `/home/chris/ossec-hids-2.6/src/os_dbd'
> > cp -pr ossec-dbd ../../bin
> > cp: cannot stat `ossec-dbd': No such file or directory
> > make[1]: *** [build] Error 1
> > make[1]: Leaving directory `/home/chris/ossec-hids-2.6/src/os_dbd'
> > Error Making the binaries
> > make: *** [build] Error 1
> > Error 0x5.
> > Building error. Unable to finish the installation.
> >
> > I'm unable to find any detail on the web so far about this error, any
> > advice apreciated.
>
> Go into the os_dbd directory and type `make`. Post the output. It
> looks like it isn't getting made in the correct spot or something, but
> it's hard to tell with this tiny snippet (and I don't know how much
> we'd need or where that output would be...).
>