shreemaan-abhishek commented on issue #8931:
URL: https://github.com/apache/apisix/issues/8931#issuecomment-1664962993

   @liweitianux I get the following error when installing the luarock:
   
   ```
   lua-nanoid 1.0.0-1 depends on lua >= 5.1 (5.1-1 provided by VM)
   env MACOSX_DEPLOYMENT_TARGET=11.0 gcc -O2 -fPIC 
-I/opt/homebrew/opt/[email protected]/include/lua5.1 -c nanoid_lua.c -o nanoid_lua.o 
-DNDEBUG
   env MACOSX_DEPLOYMENT_TARGET=11.0 gcc -O2 -fPIC 
-I/opt/homebrew/opt/[email protected]/include/lua5.1 -c nanoid.c -o nanoid.o -DNDEBUG
   nanoid.c:90:9: error: call to undeclared function 'getrandom'; ISO C99 and 
later do not support implicit function declarations 
[-Wimplicit-function-declaration]
           getrandom(bytes, sizeof(bytes), 0);
           ^
   1 error generated.
   
   Error: Failed installing dependency: 
https://luarocks.org/lua-nanoid-1.0.0-1.rockspec - Build error: Failed 
compiling object nanoid.o
   make: *** [deps] Error 1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to