[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: "Invalid contol char" error loading lfs
- From: Robert Hibberdine <bob.hibberdine@...>
- Date: Wed, 22 Mar 2006 14:19:13 +0000
I have installed Lua 5.0 on my small Linux system. The core stuff works
fine. I am now trying to use the "luafilesystem" package from the Kepler
project. I have compiled it and placed it on my system without problems.
When I run the test program that comes with lfs I get the following error:
/bin/lua: /usr/local/lib/lua/compat-5.1.lua:113: error loading module
`lfs' (/usr/local/lib/lfs.so:1: invalid control char near `char(127)')
[C]: in function `error'
/usr/local/lib/lua/compat-5.1.lua:113: in function `loader'
/usr/local/lib/lua/compat-5.1.lua:189: in function
/usr/local/lib/lua/compat-5.1.lua:213: in function `require'
/tmp/test.lua:7: in main chunk
I've had a look at the archives and have seen something about null
characters not being permitted in files but that was for lua v4.....
Does anyone have any ideas?
Thanks in advance