1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
no field package.preload['zlib']
no file '/usr/local/sandai/apana/lua/libs/zlib.lua'
no file '/usr/local/sandai/apana/lua/zlib.lua'
no file '/usr/local/services/openresty_httpsrv/site/lualib/zlib.ljbc'
no file '/usr/local/services/openresty_httpsrv/site/lualib/zlib/init.ljbc'
no file '/usr/local/services/openresty_httpsrv/lualib/zlib.ljbc'
no file '/usr/local/services/openresty_httpsrv/lualib/zlib/init.ljbc'
no file '/usr/local/services/openresty_httpsrv/site/lualib/zlib.lua'
no file '/usr/local/services/openresty_httpsrv/site/lualib/zlib/init.lua'
no file '/usr/local/services/openresty_httpsrv/lualib/zlib.lua'
no file '/usr/local/services/openresty_httpsrv/lualib/zlib/init.lua'
no file './zlib.lua'
no file '/usr/local/services/openresty_httpsrv/luajit/share/luajit-2.1.0-beta3/zlib.lua'
no file '/usr/local/share/lua/5.1/zlib.lua'
no file '/usr/local/share/lua/5.1/zlib/init.lua'
no file '/usr/local/services/openresty_httpsrv/luajit/share/lua/5.1/zlib.lua'
no file '/usr/local/services/openresty_httpsrv/luajit/share/lua/5.1/zlib/init.lua'
no file '/usr/local/sandai/apana/lua/libs/zlib.so'
no file '/usr/local/sandai/apana/lua/zlib.so'
no file '/usr/local/services/openresty_httpsrv/site/lualib/zlib.so'
no file '/usr/local/services/openresty_httpsrv/lualib/zlib.so'
no file './zlib.so'
no file '/usr/local/lib/lua/5.1/zlib.so'
no file '/usr/local/services/openresty_httpsrv/luajit/lib/lua/5.1/zlib.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
-- 文件路径以 ";" 号分隔,最后的 2 个 ";;" 表示新加的路径后面加上原来的默认路径。
export LUA_PATH="~/lua/?.lua;;"
-- package.path
/usr/local/services/openresty_httpsrv/site/lualib/?.ljbc;
/usr/local/services/openresty_httpsrv/site/lualib/?/init.ljbc;
/usr/local/services/openresty_httpsrv/lualib/?.ljbc;
/usr/local/services/openresty_httpsrv/lualib/?/init.ljbc;
/usr/local/services/openresty_httpsrv/site/lualib/?.lua;
/usr/local/services/openresty_httpsrv/site/lualib/?/init.lua;
/usr/local/services/openresty_httpsrv/lualib/?.lua;
/usr/local/services/openresty_httpsrv/lualib/?/init.lua;
./?.lua;
/usr/local/services/openresty_httpsrv/luajit/share/luajit-2.1.0-beta3/?.lua;
/usr/local/share/lua/5.1/?.lua;
/usr/local/share/lua/5.1/?/init.lua;
/usr/local/services/openresty_httpsrv/luajit/share/lua/5.1/?.lua;
/usr/local/services/openresty_httpsrv/luajit/share/lua/5.1/?/init.lua
export LUA_CPATH="~/lua/?.so;;"
-- package.cpath
/usr/local/services/openresty_httpsrv/site/lualib/?.so;
/usr/local/services/openresty_httpsrv/lualib/?.so;
./?.so;
/usr/local/lib/lua/5.1/?.so;
/usr/local/services/openresty_httpsrv/luajit/lib/lua/5.1/?.so;
/usr/local/lib/lua/5.1/loadall.so
|