[Top][All Lists]

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

emacs25 dynamic module dlopen flags

From: hx
Subject: emacs25 dynamic module dlopen flags
Date: Tue, 13 Sep 2016 08:16:21 +0800

current dlopen flag is RTLD_LAZY,
dynlib_open (const char *path)
  return dlopen (path, RTLD_LAZY);
my module will also load other shared libs, I got some error like symbol undefined,
I found this article http://www.perlmonks.org/?node_id=673396 ,
after I changed dlopen flags to RTLD_LAZY|RTLD_GLOBAL in src/dynlib.c, the problem is solved.

could emacs developer consider to add the RTLD_GLOBAL flag in emacs's source code ?

reply via email to

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