lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2014-08-20 13:26 GMT+02:00 Rena <hyperhacker@gmail.com>:
> On 2014-08-20 7:05 AM, "Robert Brown" <rebrown@exemail.com.au> wrote:
>> > require('libusb')
>> error loading module 'libusb' from file './libusb.so':
>>     ./libusb.so: undefined symbol: luaopen_libusb
> The problem is Lua can't load libusb.so directly. Like the message says, it
> can't find the luaopen_libusb function in that module. You need a library
> which binds libusb to Lua.

LuaJIT can – but I doubt whether it has been ported to your
platform yet.