sumory/openresty-china

500 error_log

ruziyi opened this issue · 1 comments

step 1.install the uuid lib
https://sourceforge.net/projects/libuuid/
step 2.if you os is linux,pls modify
pathto/openresty-china/app/libs/uuid/uuid.lua
from
--local lib = os == "OSX" and C or ffi_load "uuid"
to
local lib = C

because the os is Linux,the ffi_load run have some problem.but i don't know why.