[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trying to build LuaSocket on Solaris-10 x86
- From: Paul Ducklin <duck@...>
- Date: Mon, 13 Aug 2007 20:12:29 +1000
>/usr/local/lib/lua/5.1/socket/core.so: symbol h_errno:
>referenced symbol not found
Probably irrelevant but under Linux when you build
the main 'lua' executable you must be sure to pass
the -E option (export all symbols) to the linker so that
shared libs later loaded from lua can see and thus
link to objects declared in the lua executable image
itself.
Failing that try statically linking the socket/core.so
into your lua exe and calling the socket lib init function
from linit.c.