Git Product home page Git Product logo

Comments (5)

wargio avatar wargio commented on September 13, 2024

It is normal that while building it may output that. there is a check to see if libinjection is installed system wide (like on fedora) and if it is, then it will try to use that module instead of using the one within the submodules.

If it fails to build, did you follow the build steps here https://github.com/wargio/naxsi#build-naxsi ?

from naxsi.

duy13 avatar duy13 commented on September 13, 2024

Same problem, I can't install something called libinjection on ubuntu 20 + nginx 1.24. Do you have any instructions for this package?

Package libinjection was not found in the pkg-config search path.
Perhaps you should add the directory containing `libinjection.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libinjection' found
Package libinjection was not found in the pkg-config search path.
Perhaps you should add the directory containing `libinjection.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libinjection' found
Cannot find 'libinjection' submodule.

from naxsi.

wargio avatar wargio commented on September 13, 2024

the reason why you cannot build is because you didn't follow the instructions on how to build the repo and did not fetch the submodule.

either git clone --recurse-submodules https://github.com/wargio/naxsi.git or git submodule init && git submodule update

from naxsi.

duy13 avatar duy13 commented on September 13, 2024

dlopen() "ngx_http_naxsi_module.so" failed (ngx_http_naxsi_module.so: undefined symbol: libinjection_xss)

I tested on nginx 1.24

And yes, I have naxsi_src/libinjection

from naxsi.

wargio avatar wargio commented on September 13, 2024

that is weird. did you try to do a clean build? also what OS are you using? can you provide me the configuration parameters that you have used to generate this broken build?

from naxsi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.