-
Notifications
You must be signed in to change notification settings - Fork 202
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
resty modules not in seasrch path #7
Comments
Oh, sorry
Issue incorrect |
@mche The I think you should really invoke the https://github.com/openresty/resty-cli for more details. |
thank you |
HI!
I did compile openresty as: $ ./configure --prefix=$HOME/openresty; make install
Then run: $ ~/openresty/luajit/bin/luajit
stdin:1: module 'resty.mysql' not found:
no field package.preload['resty.mysql']
no file './resty/mysql.lua'
no file '/home/foo/openresty/luajit/share/luajit-2.1.0-beta1/resty/mysql.lua'
no file '/usr/local/share/lua/5.1/resty/mysql.lua'
no file '/usr/local/share/lua/5.1/resty/mysql/init.lua'
no file '/home/foo/openresty/luajit/share/lua/5.1/resty/mysql.lua'
no file '/home/foo/openresty/luajit/share/lua/5.1/resty/mysql/init.lua'
no file './resty/mysql.so'
no file '/usr/local/lib/lua/5.1/resty/mysql.so'
no file '/home/foo/openresty/luajit/lib/lua/5.1/resty/mysql.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './resty.so'
no file '/usr/local/lib/lua/5.1/resty.so'
no file '/home/foo/openresty/luajit/lib/lua/5.1/resty.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
Why path "{openresty-prefix}/lualib" is not included by default in luajit openresty??? This is incorrect.
P.S.
As I see in http://luajit.org/install.html that possible to
make PREFIX={openresty-prefix}/lualib
(not to be confused withmake **install** PREFIX=...
)I think that needs to add in ./configure script. May be new option "--with-luajit-extralib=..." with default?
The text was updated successfully, but these errors were encountered: