Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Problem loading driver with luajit #3

Open
EzequielHiran opened this issue Jul 4, 2022 · 2 comments
Open

Problem loading driver with luajit #3

EzequielHiran opened this issue Jul 4, 2022 · 2 comments

Comments

@EzequielHiran
Copy link

Hi, I am trying to load luasql.sqlite3 driver, it loads well with standard lua 5.4.4 but fails with luajit 2.1.0-beta3 with this error:

undefined symbol: lua_newuserdatauv

I have found the api changed from lua_newuserdata to this new function version with 3 parameters and standard lua seems up to-date but lua jit seems to be not.
What should I change?
Heart is using Luajit, what version else would I need to install for Heart to load LuaSQL correctly?
I am using de dynamic version of Heart since LuaSQL is as C module.

@sosodev
Copy link
Collaborator

sosodev commented Aug 31, 2022

Great question. I'll look into this soon and let you know. Sorry for the wait. 💜

@sosodev
Copy link
Collaborator

sosodev commented Aug 31, 2022

You may want to check out redbean in the meantime. It's very similar to Heart but directly integrates SQLite.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants