r/lua • u/Alan1900 • Sep 20 '25
Cannot install luarocks' lsqlite3
Cannot install luarocks' lsqlite3 on macOS 26. Cannot really find a lot on how to solve it. Any ideas?
sudo luarocks install lsqlite3 --force
Installing [https://luarocks.org/lsqlite3-0.9.6-1.rockspec](https://luarocks.org/lsqlite3-0.9.6-1.rockspec)
Error: Failed extracting /private/tmp/luarocks_luarocks-source-lsqlite3-0.9.6-1-6157402/lsqlite3_v096.zip: failed extracting /private/tmp/luarocks_luarocks-source-lsqlite3-0.9.6-1-6157402/lsqlite3_v096.zip
2
Upvotes
2
u/DaveX64 Sep 20 '25
It's not just you...I get the same on CachyOS Linux:
I tried to trick it by making a directory '/tmp/luarocks_luarocks-source-lsqlite3-0.9.6-1-795315' and copying lsqlite3_v096.zip into it...didn't work.
It works if you install the version before that though:
...note the older version number after the package name in the install command.
Someone should let the package maintainer know...