Hi folks,
I am getting this error trying to build Wireshark with Lua:
--------------------
/usr/bin/ld: /usr/local/lib/liblua.a(lapi.o): relocation R_X86_64_32
against hidden symbol `luaO_nilobject_' can not be used when making a
shared object
/usr/bin/ld: /usr/local/lib/liblua.a(ldebug.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: /usr/local/lib/liblua.a(ldo.o): relocation R_X86_64_32
against `.rodata.str1.1' can not be used when making a shared object;
recompile with -fPIC
/usr/bin/ld: /usr/local/lib/liblua.a(lgc.o): relocation R_X86_64_32S
against `.rodata' can not be used when making a shared object;
recompile with -fPIC
--------------------
Looks like maybe I need install Lua as a shared library.
Does that make sense?
--
Regards,
Richard Sharpe
(何以解憂?唯有杜康。--曹操)(传说杜康是酒的发明者)