In a message of Thu, 17 Sep 2015 15:41:26 +0800, "chenc...@inhand.com.cn" write
s:
> So, I checked my ctypes source code, I found RTLD_LAZY defined in
>dlfcn.h header file like this:
>/* The MODE argument to `dlopen' contains one of the following: */
>#define RTLD_LAZY 0x1 /* Lazy function c
hi:
I use ctypes load multiple C libraries. Code like this:
.
history = CDLL("/usr/lib/libhistory.so", mode=RTLD_GLOBAL|RTLD_LAZY)
ncurses = CDLL("/usr/lib/libncurses.so", mode=RTLD_GLOBAL|RTLD_LAZY)
readline = CDLL("/usr/lib/libreadline.so", mode=RTLD_GLOBAL|RTLD_LAZY)
...
In a message of Wed, 16 Sep 2015 17:35:18 +0800, "chenc...@inhand.com.cn" write
s:
>hi:
>I encountered a problem. I use ctypes load multiple C libraries, but
>the libraries have dependence each other.So, how can i load these
>libraries. For example, I have two libraries:A、B, but A depends on B,
hi:
Most current compilers and linkers will search all object files,
regard-less of order, but since not all compilers do this it is best to
follow the
convention of ordering object files from left to right . Python do that.
So, is there anybody know how to solve the follow problem?
On 09/
On Wed, Sep 16, 2015 at 7:35 PM, chenc...@inhand.com.cn
wrote:
> I encountered a problem. I use ctypes load multiple C libraries, but the
> libraries have dependence each other.So, how can i load these libraries. For
> example, I have two libraries:A、B, but A depends on B, B depends on A. So
> ho