lua-users home
lua-l archive

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


Folks,

I've built and installed Lua 5.1.2 on my x86 Solaris 10 box.
And, I've managed to make and install LuaSocket on the box.
In both cases I took care to ensure that I was using gmake/gcc.
Now, if I fire up Lua and do a require 'socket', I get:

error loading module 'socket.core' from file
'/usr/local/lib/lua/5.1/socket/core.so':
        ld.so.1: lua: fatal: relocation error: file
        /usr/local/lib/lua/5.1/socket/core.so: symbol h_errno:
        referenced symbol not found
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/local/share/lua/5.1/socket.lua:13: in main chunk
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: ?

Any guidance is appreciated.

Gavin.