[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- 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 <kkndrox@gmail.com> 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
> solution?
>
> Thanks.
>
> On Wed, Mar 25, 2009 at 10:38 AM, Roberto Ierusalimschy
> <roberto@inf.puc-rio.br> 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
>>
>
>
>
> --
> http://oproj.tuxfamily.org
>
--
http://oproj.tuxfamily.org