lua-users home
lua-l archive

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


> package.path = package.path .. ";/usr/lib64/lua/5.1/?.so"
> require "iuplua"
error loading module 'iuplua' from file '/usr/lib64/lua/5.1/iuplua.so':
    /usr/lib64/lua/5.1/iuplua.so:1: unexpected symbol near 'char(127)'

Are you intending to feed a binary (.so) to the Lua loader?

Should have probably been:

> package.cpath = package.cpath .. ";/usr/lib64/lua/5.1/?.so"

(note the "cpath" vs. "path")