[Zope-dev] cAccessControl.so Zope 2.12.7

Christopher Warner cwarner at kernelcode.com
Fri Jul 30 16:08:36 EDT 2010


This is probably an issue with 2.12.7 to 2.12.10 as current. I haven't
tested beyond 2.12.7 however.

The AccessControl module; specifically the shared lib cAccessControl.so as
built on an osx arch x86_64 is incorrect as the runtime expects i386. In
most cases a knowledgable user will able to rebuild this library with
something like:

gcc -dynamic -bundle -arch i386
> -I/Applications/Plone4/Python-2.6/include/python2.6
> -I/Applications/Plone4/buildout-cache/eggs/ExtensionClass-2.13.1-py2.6-macosx-10.4-i386.egg/
> -I/Applications/Plone4/buildout-cache/eggs/Acquisition-2.13.3-py2.6-macosx-10.4-i386.egg/
> /Applications/Plone4/Python-2.6/lib/libpython2.6.a
> /usr/lib/libpython2.6.dylib -L/Applications/Plone4/Python-2.6/lib/
> cAccessControl.c -o cAccessControl.so


Unfortunately in the above specific case I'm building against a standalone
Plone instance which ships only with a static lib version of Python 2.6. So
this doesn't work. This became an issue with Plone 4.0b5 as this is the
first version to include Zope 2.12.7 egg. The 2.12.6 egg has the correct
arch.

The only remedy I can readily see is that however cAccessControl.so is built
needs to be built specifically for the i386 arch and stuffed into the egg.
-- 
Christopher Warner
http://cwarner.kernelcode.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20100730/33473164/attachment.html 


More information about the Zope-Dev mailing list