|
Sorry for my incorrect test
command. I have correct below: >
print(package.loadlib("a", "b")) nil
dynamic libraries not enabled; check your Lua
installation absent So confirm that my lua not
support dynamic libraries. I want to know how to configure
related param when installing for support of dynamic libraries. Thanks. 发件人:
lua-bounces@bazar2.conectiva.com.br
[mailto:lua-bounces@bazar2.conectiva.com.br] 代表 lee Hi all, I install my lua under
cygwin through choosing “make ansi”. I want to know if my lua
interpreter support dynamic link ? Book - “PIL”
tell me a method below: Run
“print(loadlib())” under lua prompt, and watch return result
containing “bad arguments” information, if so, support dynamic
link. But after a try, get: $ lua Lu > print(loadlib()) stdin:1: attempt to call
global 'loadlib' (a nil value) stack traceback:
stdin:1: in main chunk
[C]: ? > It look like my lua does
not support dynamic link, but I am not sure …. Thanks. |