problems with compiling and loading C++ extension

John Hunter jdhunter at ace.bsd.uchicago.edu
Thu Apr 8 12:28:17 EDT 2004


>>>>> "Faheem" == Faheem Mitha <faheem at email.unc.edu> writes:

    Faheem> Dear People,

    Faheem> I have been having an odd problem with compiling and
    Faheem> loading a simple C++ extension to python (as a .so file in
    Faheem> Linux). Unfortunately, I'll need to include my files in
    Faheem> here so I apologize in advance for the length of this
    Faheem> message.


Try adding 'stdc++' to your module libraries.

Another possibility is that the blitz library was compiled with a
different version of g++ than you are using to compile your
extension.  You could try recompiling blitz with the same g++.

Hope this helps,
John Hunter 




More information about the Python-list mailing list