You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to run test/main.lua successfully but when I try the same thing in Openresty
#config
lua_package_cpath ";/usr/local/openresty/lualib/?.so;/usr/local/lib/lua/5.1/?.so;/usr/local/lib/lua/5.1/socket/?.so;/usr/lib/lua/5.1/?.so;/usr/lib64/lua/5.1/?.so;/usr/local/lib/?.so;/usr/lib/?.so";
#code in content_by_lua_file
local as = require("as_lua")
error.log:
2018/10/12 11:30:55 [error] 25155#0: *109 [lua] NGX.lua:55: error(): error loading module 'as_lua' from file '/usr/lib/lua/5.1/as_lua.so':
libaerospike.so: cannot open shared object file: No such file or directory
Is aerospike-API call non-blocking? If not how can we make it non-blocking (like other openresty libs)?
The text was updated successfully, but these errors were encountered:
onlynishant
changed the title
error using in openresty
error in openresty: libaerospike.so: cannot open shared object file: No such file or directory
Oct 12, 2018
I'm not familiar with Openresty, but libaerospike.so does need to exist in LD_LIBRARY_PATH on linux.
This experimental lua client just provides a few sync command wrappers to the C client. To use async commands, you would have to write your own wrappers to the async C client functions.
Also, this client is not meant to be used in production as it's not officially supported and does not appear on our website (only exists in github).
Hi,
I am able to run test/main.lua successfully but when I try the same thing in Openresty
error.log:
Is aerospike-API call non-blocking? If not how can we make it non-blocking (like other openresty libs)?
The text was updated successfully, but these errors were encountered: