[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: require and -lname require LUA_COMPAT_LOADLIB
- From: Claude Marinier <claude.marinier@...>
- Date: Fri, 6 Oct 2006 11:58:36 -0400 (EDT)
Currection: The package is not compatible with Lua 5.1; it uses a small
script to support packages with a direct call to global 'loadlib'. Hiding
this script actually fixes the problem.
I thought Lua 5.1.1 fixed it because I ran the test from a different
directory where the compatibility script was not visible,
This is my first attempt to use a package. Lua has been very useful so far
without any packages.
Thank you for your patience.
On Fri, 6 Oct 2006, Claude Marinier wrote:
Lua 5.1.1 fixes this problem. My appologies for not finding 5.1.1
earlier.
On Fri, 6 Oct 2006, Claude Marinier wrote:
Built Lua 5.1 on Debian testing on Compaq DeskPro then built random module
from LuaForge. The build of random fails when it tries to run the test
script. Here is the output.
/usr/local/bin/lua -lrandom test.lua
/usr/local/bin/lua: ./random.lua:7: attempt to call global 'loadlib' (a nil value)
make: *** [test] Error 1
--
Claude Marinier, Information Technology
Defence Research & Development Canada (Ottawa)
claude.marinier@drdc-rddc.gc.ca
http://www.ottawa.drdc-rddc.gc.ca
Telephone: (613) 998-4901