-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
sqlite.lua/lua/sqlite/defs.lua has x86_64 hardcoded as the machine architecture (in the fn clib l.35 ff). With Ubuntu 24 on an arm64 based machine this sets the search path to /usr/lib/x86_64-linux-gnu/... which of course does not work. This easy fix seems to work (l.35ff) for me:
local arch_name = io.popen("uname -m", "r"):read "*l"
local linux_paths = {
"/usr/lib/" .. arch_name .. "-linux-gnu/libsqlite3.so",
"/usr/lib/" .. arch_name .. "-linux-gnu/libsqlite3.so.0",
zjp-CN and davidbviana
Metadata
Metadata
Assignees
Labels
No labels