openresty / lua-resty-balancer

A generic consistent hash implementation for OpenResty/Lua
322 stars 77 forks source link

can't load librestychash.so ,how to solve #28

Closed autopost-get closed 3 years ago

autopost-get commented 5 years ago

chash.lua:82: can not load librestychash.so stack traceback: [C]: in function 'error' .../chash.lua:82: in main chunk [C]: in function 'require' ...controller.lua:11: in main chunk [C]: in function 'require' init_by_lua:1: in main chunk

rainingmaster commented 4 years ago

@autopost-get Hi, it seems that you doesn't compile the librestychash.so, have you follow the installation to generate librestychash.so, and set the right cpath?

cscfamily001 commented 3 years ago

where is librestychash.so source code

rainingmaster commented 3 years ago

where is librestychash.so source code

https://github.com/openresty/lua-resty-balancer/blob/master/chash.c