C modules with gcc 3.0.x

Robert Nikander nikander at mindspring.com
Sun Nov 11 21:47:18 CET 2001


Has anyone been using gcc 3 with python C modules?  When gcc 2.95 compiles
the module everything works fine, but if I use gcc 3 I get this....

Python 2.2b1 (#2, Nov 11 2001, 12:36:39) [GCC 2.95.3 20010315 (release -
Linux-Mandrake 8.0 for PPC)] on linux2 Type "help", "copyright", "credits"
or "license" for more information.
>>> import spam
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: libgcc_s.so.1: cannot load shared object file: No such file
or directory
>>> 
>>> 

Rob



More information about the Python-list mailing list