lua-users home
lua-l archive

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


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

Lua 5.1.4  Copyright (C) 1994-2008 Lua.org, PUC-Rio

> 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.