|
Hi,
Maybe someone can explain (1) what is supposed to appear in /usr/local/lib/lua/5.1/socket (2) what is the appropriate setting for LUA_CPATH and/or LUA_PATH.
It's all explained here http://www.cs.princeton.edu/~diego/professional/luasocket/installation.html You don't load core.so (socket.so) directly. It is loaded by socket.lua. This file must be found in your LUA_PATH, not your LUA_CPATH. Therefore, you should have a file /usr/local/share/lua/5.1/socket.lua Please make LUA_PATH point to /usr/local/share/lua/5.1,verify the installation copied socket.lua to that directory, and try again.
[]s, Diego.