[Top][All Lists]

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

Re: Emacs 25 modules

From: Joey Ezechiels
Subject: Re: Emacs 25 modules
Date: Mon, 7 Nov 2016 21:51:10 +0100

Hi Zhang,

Thank you for your response. I have tried adding the RTLD_GLOBAL flag to
the only call to dlopen() in the file you mentioned, but unfortunately that
turns out not to work: I still get the same garbage output as before.

What's odd about this whole situation is that I'm trying to accomplish
something conceptually very simple: Using ZeroMQ from an Emacs
module. Since it is most easily accessed as a dynlib when working
multi-platform, that's the way I want to link the module and zmq.

Met vriendelijke groet / Best regards,
Joey Ezechiƫls

On Wed, Nov 2, 2016 at 8:32 AM, Zhang Jun <> wrote:

> don't know rust and OSx, if your module also load other .so file at
> runtime, it may have problem,
> then need to change emacs src/dynlib.c, add RTLD_GLOBAL flag to dlopen()
> On Thu, Oct 27, 2016 at 1:34 AM, Joey Ezechiels <>
> wrote:
>> Yes, the module code is located here
>> <>, and the
>> Elisp
>> code that loads the module is located here
>> <>.
>> The module is written in Rust, but an earlier prototype of the module was
>> written in C and exhibited the same loading issues under Linux.
>> Best regards / Met vriendelijke groet
>> Joey Ezechiƫls

reply via email to

[Prev in Thread] Current Thread [Next in Thread]