Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] LUA on freebsd

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Fri, 31 Jan 2020 15:34:45 -0800
On Jan 30, 2020, at 6:18 AM, Dario Lombardo <lomato@xxxxxxxxx> wrote:

> I installed lua52, and got this: https://cirrus-ci.com/task/4716205919436800
> 
> The library is not properly detected, but then tried to be linked (and failed). 

Doing

	cc foo.c -llua-5.2

from the command line fails on FreeBSD 11.2; you have to do

	cc foo.c -L/usr/local/lib -llua-5.2

to tell it to look in /usr/local/lib.  Perhaps our configuration process is assuming that UN*X linkers look in /usr/local/lib by default.