Python 2.2.1 vs. gcc 3.1?

Skip Montanaro skip at pobox.com
Fri Jun 7 12:42:19 EDT 2002


    ...
    Andrew> gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I. -I/tmp/build-gnu913/Python-2.2.1/./Include -I/usr/local/include -IInclude/ -c /tmp/build-gnu913/Python-2.2.1/Modules/structmodule.c -o build/temp.solaris-2.8-sun4u-2.2/structmodule.o
    Andrew> creating build/lib.solaris-2.8-sun4u-2.2
    Andrew> gcc -shared build/temp.solaris-2.8-sun4u-2.2/structmodule.o -L/usr/local/lib -o build/lib.solaris-2.8-sun4u-2.2/struct.so
    Andrew> WARNING: removing "struct" since importing it failed
    ...

    Andrew> I do not believe that these problems happened with gcc 3.0
    Andrew> Any suggestions as to how to go about troubleshooting it?

My guess is you have a new libgcc.so file that needs to be introduced to the
system using the ldconfig command.  Try running ldd on the struct.so file
and see if it finds everything the file references.

-- 
Skip Montanaro (skip at pobox.com - http://www.mojam.com/)
Boycott Netflix - they spam - http://www.musi-cal.com/~skip/netflix.html






More information about the Python-list mailing list