lua-users home
lua-l archive

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


On Tue, Feb 20, 2018 at 9:32 AM, Russell Haley <russ.haley@gmail.com> wrote:
> Hi,
>
> TLDR: does anyone have an src Makefile that builds a shared object in
> 5.1.5 that I can use on Ubuntu?

So as usual my initial findings were all wrong. Apparently Lua is
looking for a static lib file. The configure step for wireshark finds
all the mechanisms but fails on the last step:

checking for library containing luaL_openlibs... no

A quick search finds that function in linit.c. I look back to my build
output and I check the a file:

ar -t liblua.a

which contains linit.o

Any ideas what I'm missing? I totally understand that this is a
wireshark issue but I'm hoping a familiar soul can help rather than
adding yet another mailing list to my growing inbox.

Cheers,

Russ

> I have a Ubuntu VM that doesn't have internet but I do have xrdp
> access. The user that set it up manually built wireshark 2.0.2 but
> forgot to build lua. Other similar installations here use lua 5.1.5
> from apt, so I've downloaded 5.1.5 and built it. The configure finds
> my lua installation but didn't find the .so and then I remembered
> there is no liblua53.so in the default Makefile.
>
> I'm not even going to bother posting my feeble attempts.
>
> Thanks,
>
> Russ