[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua and dynamic modules
- From: Lucas Hermann Negri <kkndrox@...>
- Date: Thu, 26 Mar 2009 00:04:15 -0300
I ended up implementing it as a custom loader in package.loader .
On Wed, Mar 25, 2009 at 6:52 PM, Lucas Hermann Negri <firstname.lastname@example.org> wrote:
> Hello, thanks for the info.
> Adding the RTLD_GLOBAL flag on ll_load (in loadlib.c) solves the
> problem. Maybe the best approach here is to provide myself a special
> loadlib that uses RTLD_GLOBAL? Or there are another non-intrusive
> On Wed, Mar 25, 2009 at 10:38 AM, Roberto Ierusalimschy
> <email@example.com> wrote:
>>> Ops, its on Arch Linux (x86). On Windows XP it works as expected.
>> Maybe the problem is the (absence of) RTLD_GLOBAL option. (Search the
>> list for more information.)
>> -- Roberto