Skip to content

error in openresty: libaerospike.so: cannot open shared object file: No such file or directory #12

@onlynishant

Description

@onlynishant

Hi,

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
$] sudo find / -name 'as_lua.so'
/usr/lib/lua/5.1/as_lua.so
$] sudo find / -name 'libaerospike.so'
/usr/lib/lua/5.1/libaerospike.so
/usr/lib/libaerospike.so
$] nginx -v
nginx version: openresty/1.13.6.1

Is aerospike-API call non-blocking? If not how can we make it non-blocking (like other openresty libs)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions