-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot compile from master: sqlite3.h: no such file or directory #1354
Comments
Not sure about your 1514 issue, you didn't provide any details. But master now requires sqlite. Maybe I'll ifdef it so people don't have to install sqlite, but I'd rather not at this point. |
I am facing same issue. |
5- Installing the system
Error 0x5. root@ubuntu:/home/stg03/ossec-hids# |
@testerrrrrr Did you install the sqlite package? Pull request #1364 makes this unnecessary, as the feature will be optional. |
Yes, I have installed sqlite package, still getting the error, I have downloaded the latest one from master branch. |
@testerrrrrr Which distro are you using? |
Distributor ID: Ubuntu |
Ok, I'll try to test it out. |
Thank you, |
Perhaps the associated lib package is required when compiling? https://packages.ubuntu.com/xenial/libsqlite3-dev I only mention this because the comments on this issue could be interpreted as you having installed sqlite but not the development package needed for linking to |
@nbuuck Yes, It worked !! Thanks a lot, I just installed libsqlite3-dev and it worked like a charm. Thanks again. |
It looks like Ubuntu needs |
Correct. |
I've added these packages to the documention (ossec/ossec-docs#237) pull request. |
@nbuuck Thank you! |
Having issues installing ossec server on new amazon ubuntu 16.04 instance.
Tried installing via released tar (2.9.3) and it installed, but did not register a listener on 1514.
So, finding an old related issue #1061 and PR #1259 (merged), tried installing via cloning master (after cleanup of older install attempts).
Getting the following error:
It appears that it is looking to include
sqlite3.h
insrc/analysisd/syscheck-sqlite.h
however that file is not included when cloning master branch.as an aside, I have cloned a couple of tags and branches, they seem to build fine, but I still have issues with 1514 not listening.
The text was updated successfully, but these errors were encountered: