lua-users home
lua-l archive

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


On Tue, Oct 15, 2013 at 5:18 PM, Chris Datfung <chris.datfung@gmail.com> wrote:
> gcc -o LuaXML_lib.so -fPIC -shared LuaXML_lib.o -L. -L../lua/src  -llua -ldl
> /usr/bin/ld: cannot find -llua

For a Lua extension, you should not need to link explicitly against
liblua. It will find all it needs when loaded by Lua (or not).