[Distutils] darwin Python 2.1 problem

Robin Becker robin at jessikat.fsnet.co.uk
Sat Oct 25 05:21:43 EDT 2003

In article <20031025060859.68323.qmail at web42002.mail.yahoo.com>, Chris
Leonello <cleonello at yahoo.com> writes
>I am trying to build _renderPM.so for use with Python 2.1.3 in a Zope
>2.6.2 installation on a Mac OS X Jaguar (10.2.8).  I recieve the following
>creating build/lib.darwin-6.8-Power Macintosh-2.1
>gcc -flat_namespace -bundle -undefined suppress
>build/temp.darwin-6.8-Power Macintosh-2.1/_renderPM.o
>-Lbuild/temp.darwin-6.8-Power Macintosh-2.1 -l_renderPM_libart
>-l_renderPM_gt1 -o build/lib.darwin-6.8-Power Macintosh-2.1/_renderPM.so
>ld: archive: build/temp.darwin-6.8-Power
>Macintosh-2.1/lib_renderPM_libart.a has no table of contents, add one with
>ranlib(1) (can't load from it)
>ld: archive: build/temp.darwin-6.8-Power Macintosh-2.1/lib_renderPM_gt1.a
>has no table of contents, add one with ranlib(1) (can't load from it)
>error: command 'gcc' failed with exit status 1

Is there any way to make static library builds do a ranlib? Some Mac
users say there's a problem with 2.1.
Robin Becker

More information about the Distutils-SIG mailing list