lua-users home
lua-l archive

Re: Trying to build LuaSocket on Solaris-10 x86

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


I know nothing about solaris, but it seems to be looking for h_errno.
You should run some command (on OSX I use nm) to list the symbols and
how they're exported from core.so.
wes
On 8/12/07, lua@gavinmckenzie.fastmail.fm <lua@gavinmckenzie.fastmail.fm> wrote:
> 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.
>
>

AltStyle によって変換されたページ (->オリジナル) /