when i load lfs module in lua file, i got the error message:
error loading module 'lfs' from file '/usr/lib64/lua/5.1/lfs.so':
/usr/lib64/lua/5.1/lfs.so:1: unexpected symbol near 'char(127)'
here is the code:
#!/usr/bin/lua
package.path = package.path .. ";/usr/lib64/lua/5.1/?.so"
require"lfs"
if i execute the code in lua console, it succeed; if i copy the lfs.so file to the same directory as the lua file, i succeed too. i had googled,but can't find a solution.