python how to load multiple C libraries

chenchao at chenchao at
Wed Sep 16 12:25:57 CEST 2015

    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/16/2015 05:41 PM, Chris Angelico wrote:
> On Wed, Sep 16, 2015 at 7:35 PM, chenchao at
> <chenchao at> 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
>> how do I load them? Is there anybody know how to do it?
> How are the libraries built? A circular dependency is always a
> problem. How would a C program handle this?
> ChrisA

More information about the Python-list mailing list