lua-users home
lua-l archive

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


>/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.