[Buildbot-devel] Buildbot and Solaris

Dustin J. Mitchell dustin at zmanda.com
Tue Aug 7 16:15:59 UTC 2007


On Tue, Aug 07, 2007 at 05:10:06PM +0100, Russel Winder wrote:
> Works fine on Ubuntu.  Fails dismally on Solaris.  Actually works if I
> use python2.3 on Solaris so the SFW install work, it is just the SMC
> install that doesn't.
<snip>
> Is the _md5 module supposed to be statically compiled into the Python
> interpreter rather than being a shared library? 

It depends on how Python is compiled, and possibly on the system (hence
your Ubuntu system not having a separate _md5.so).  It seems that the
sunfreeware version is just miscompiled..

> I re-read your earlier email:
> 
> > I don't see _md5.so in there, which is the lib you need.  md5.py is a
> > wrapper around _md5, which is a CPython module.  It's a common trick in
> > the Python standard library.
> 
> so hunted around for '*md5*.so*'.  On Ubuntu I get:

Specifically, you need _md5.so -- not libmd5 or anything like that.
It's not a linked-in library -- it's a dynamic shared object that Python
loads at runtime.

> /usr/sfw/lib/python2.3/lib-dynload/md5.so

Interesting -- so 'import md5' on that install loads the shared object
directly, instead of via an '_md5' wrapper.

I think it's time to bite the bullet and compile Python from source..

Dustin

-- 
        Dustin J. Mitchell
        Storage Software Engineer, Zmanda, Inc.
        http://www.zmanda.com/




More information about the devel mailing list