libvips / lua-vips

Lua binding for the libvips image processing library
MIT License
129 stars 10 forks source link

error loading mdoule 'ffi': undefined symbol: lua_getiuservalue #86

Open Robin-Sch opened 3 days ago

Robin-Sch commented 3 days ago

Hello everyone!

I just installed lua-vips, however, I constantly get the following error:

error loading mdoule 'ffi': undefined symbol: lua_getiuservalue

could you please help me out how to debug this? Thanks a lot!

jcupitt commented 3 days ago

Hello @Robin-Sch,

Which Lua version is this, and which platform are you using?

lua_getiuservalue ought to be in current Lua, I think:

https://www.lua.org/manual/5.4/manual.html#lua_getiuservalue

If you cannot link to it, perhaps you are missing the Lua dev package?

Robin-Sch commented 3 days ago

I am using arch linux, lua version 5.4.7. How do I get the dev package?

jcupitt commented 3 days ago

Sorry, I don't know arch too well. Maybe ask on their support?

Robin-Sch commented 3 days ago

I have not too much experience with lua, but I think everything should already be installed perfect fine: https://wiki.archlinux.org/title/Lua