lua-users home
lua-l archive

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


Hi

I am a newby on Lua and I am having problems using dynamic libraries. The
same application I am developing runs correctly on Lua stand-alone but
issues the following error running embeded on a C++ application:

attempt to call global `loadlib' (a nil value)

When I compiled Lua I enabled the options

LOADLIB= -DUSE_DLOPEN=1
DLLIB= -ldl

in order to allow dynamic loading

I am running my application on Linux and the libraies I need ar lposix and
luasocket.

Thank's for any help

Mauricio Hofmam