lua-users home
lua-l archive

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

> appliance:/var/tmp> ln -s
> appliance:/var/tmp> ./lua
> > require "socket"
> error loading module 'socket' from file './':
>         Unable to resolve symbol

This is *not* the way to use LuaSocket! You need to install it somewhere.
require "socket" should load socket.lua which in turn loads socket.core,
typically from socket/

The unresolved symbol in the message above is probably luaopen_socket,
which indeed does not exist in; it exports luaopen_socket_core.