Giter Site home page Giter Site logo

Comments (5)

agentzh avatar agentzh commented on June 25, 2024

@sunnybear Your nginx process loads the wrong libluajit-5.1.so at runtime. This is also why it is recommended to use OpenResty directly. Set your rpath or /etc/ld.so.conf to make your nginx find the right libluajit-5.1.so.

from luajit2.

agentzh avatar agentzh commented on June 25, 2024

Or set the LD_LIBRARY_PATH env (not recommended though).

from luajit2.

sunnybear avatar sunnybear commented on June 25, 2024

With right LuaJIT it causes generic fault with ssl functions. Maybe additional docs from your side - how to compile Openresty Lua + Openresty LuaJIT - is required.

Openresty nginx build is too heavy for us and doesn't cover all functions, so we use custom build.

from luajit2.

agentzh avatar agentzh commented on June 25, 2024

@sunnybear You should first try if OpenResty works for you. Then you can check how OpenResty handle things. It's open source. Documentation is already well written here for custom build:

https://github.com/openresty/lua-nginx-module#installation

Average users may get into some pitfalls. That's why we created OpenResty in the first place. BTW, you can always add new libraries and new nginx C modules as well as removing unneeded ones when using OpenResty. Just check out the output of the ./configure --help command of OpenResty. It's just like NGINX's build system. What you're saying may just be your own false imagination...Just my 2 cents.

from luajit2.

sunnybear avatar sunnybear commented on June 25, 2024

thank youm but we dont need to use OpenResty :)

from luajit2.

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.