lua-users home
lua-l archive

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


On 27 July 2017 at 01:17, Russell Haley <russ.haley@gmail.com> wrote:
> On Wed, Jul 26, 2017 at 7:56 AM, Luiz Henrique de Figueiredo
> <lhf@tecgraf.puc-rio.br> wrote:
>>> Oh, and I did test the current patch last night and it builds and
>>> returns the expected result.
>>
>> But does it support dynamic libraries and readline?
>
> Can you describe a simple test for dynamic library support? Again, I
> need more context into what that means for Lua and FreeBSD. My
> assumption means allowing Lua to be dynamically linked into another
> application?

It's a question of where the 'dlopen' function and friends live.
In glibc on linux, the function is in libdl.so
Whereas on other distros (including freebsd) they are part of libc.

Usually you can find out if '-ldl' is required by looking at the
dlopen man page of the system in question.