-
Notifications
You must be signed in to change notification settings - Fork 75
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
unknown luaJIT command or jit.* modules not installed #9
Comments
Looks like your OpenResty installation directory tree is incomplete or corrupted? |
I have the same problem, also with 1.11.2.1.
|
Appear to be the |
@pintsized Could you try running the following commands on your side? /usr/local/openresty/luajit/bin/luajit-2.1.0-beta2 -bl lib/resty/http.lua /dev/null
/usr/local/openresty/luajit/bin/luajit-2.1.0-beta2 -b lib/resty/http.lua /dev/null |
@lilien1010 @pintsized Please try out the latest |
@agentzh For me, using the -b flag at all always shows that error:
I just tried out the latest version - slightly different output but the same error:
Anything else I can do to help? |
@pintsized Your latest output is very helpful. Please git pull and try out the latest version of |
@pintsized BTW, what version of perl are you using? Will you show the output of the command |
|
Just pulled - slightly different again:
|
@pintsized Okay, it seems that your LuaJIT in the OpenResty installation tree fails to load the standard LuaJIT module, strace /usr/local/openresty/luajit/bin/luajit-2.1.0-beta2 -b lib/resty/http.lua /dev/null 2>&1|grep -i jit On my side (Fedora Linux x86_64), the output looks like this, which is the corrected behavior:
Wondering if your OpenResty/LuaJIT installation just does not have the |
@pintsized BTW, what Linux distribution are you in? Will you provide as much details as possible? Thanks! |
Seems it's looking for it in the wrong place for some reason?
This is a Scientific Linux 6 x86_64 environment. I compiled OpenResty with a plain Could
|
Oh yeah, your global |
@pintsized I'll explicitly clear any |
@agentzh Ah, yep makes sense! |
…om hiding standard luajit modules. thanks Lien and James Hurst for the report in #9.
Okay, please try the latest |
@agentzh To confirm, I fixed my path and all is now working...
Will update and test against both this and the old |
@agentzh Confirmed, it works now regardless of |
@pintsized Cool, thanks for your patience! |
/usr/local/openresty/luajit/bin/luajit-2.1.0-beta2: unknown luaJIT command or jit.* modules not installed
openresty-1.11.2.1 installed
lastest opm installed
then I
cp opm/bin/opm /usr/local/openresty/bin
when I set dist.ini down and run
opm build
it shows error like this
found license: BSD 3-Clause "New" or "Revised" license. derived main_module file resty/s3uploader.lua /usr/local/openresty/luajit/bin/luajit-2.1.0-beta2: unknown luaJIT command or jit.* modules not installed ERROR: failed to run command
The text was updated successfully, but these errors were encountered: