vsergeev / lua-periphery

A Lua library for peripheral I/O (GPIO, LED, PWM, SPI, I2C, MMIO, Serial) in Linux.
MIT License
182 stars 38 forks source link

Lua5.3: undefined symbol: luaL_checkunsigned #3

Closed Desertification closed 9 years ago

Desertification commented 9 years ago

When running "require('periphery')" i get the following error message:

error loading module 'periphery' from file '/usr/local/lib/lua/5.3/periphery.so'
        /usr/local/lib/lua/5.3/periphery.so: undefined symbol: luaL_checkunsigned
stack traceback:
        [C]: in ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: in ?

I am using a raspberry pi running rasbian and Lua 5.3.0. Periphery is installed with luarocks. When running the instruction from Lua 5.2.4, I get no errors.

vsergeev commented 9 years ago

Thanks for the report. Lua 5.3 support added in b54e56c91dad8c0a757461fe66b2521965202a56. v1.0.5 should work with Lua 5.3.