[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Building Lua 5.3 from Lua.org on FreeBSD
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 26 Jul 2017 13:18:40 -0300
> > Can you describe a simple test for dynamic library support?
>
> Save this file to dummy.c:
>
> [...]
I think there is a simpler way. Just run the following:
$ lua
> = package.loadlib("a", "b")
If the error message is something about not finding "a" (e.g.,
"a: cannot open shared object file"), then you have DLL support.
Otherwise, the error message is something like "dynamic libraries
not enabled".
-- Roberto
- References:
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Charles Heywood
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Russell Haley
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Luiz Henrique de Figueiredo
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Russell Haley
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Luiz Henrique de Figueiredo
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Russell Haley
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Russell Haley
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Luiz Henrique de Figueiredo
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Russell Haley
- Re: Building Lua 5.3 from Lua.org on FreeBSD, Luiz Henrique de Figueiredo