Skip to content

ModSecurity headers not found #54

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

Closed
aminhk opened this issue Jan 16, 2019 · 2 comments
Closed

ModSecurity headers not found #54

aminhk opened this issue Jan 16, 2019 · 2 comments
Assignees

Comments

@aminhk
Copy link

aminhk commented Jan 16, 2019

hi guys
i compiled libmodsecurity and it's installed in /usr/local/modsecurity/lib.
when i tried to compile apache connector it says : Libmodsecurity not found.
I put /usr/local/modsecurity/lib in /etc/ld.so.conf + ldconfig but didn't work. then i copied * in /usr/local/modsecurity/lib to /usr/lib.

whereis libmodsecurity --> libmodsecurity: /usr/lib/libmodsecurity.so /usr/lib/libmodsecurity.la /usr/lib/libmodsecurity.a /usr/local/lib/libmodsecurity.so /usr/local/lib/libmodsecurity.la /usr/local/lib/libmodsecurity.a

apache-connector --> ./configure and it says : ModSecurity headers not found

I checked find_libmodsec.m4 and it seems that everything is ok. I have this dir:/usr/local/modsecurity/
and modsecurity is in : /usr/local/modsecurity/include/modsecurity. but i don't know what is wrong ?
im tired of testing if anyone could help me i would appreciate it.

@aminhk aminhk closed this as completed Jan 18, 2019
@victorhora victorhora self-assigned this Jan 20, 2019
@victorhora
Copy link
Collaborator

Hi @aminhk

Did you find a workaround for the issue you reported?

You may want to look into #47 as a similar issue is being discussed.

@zimmerle
Copy link
Contributor

Hi @aminhk,

There are two things that apache connector is looking for: the library and the headers. It seems like you made it successfully find the library into the /usr/ folder, but not the headers.

Did you have the chance to use the --prefix during libModSecurity compilation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants