I'm not sure if you considered this, but note that LD_LIBRARY_PATH needs to point to *Python's* libraries, not Zopes. It's not python that can't find ExtensionClass.so, it's ExtensionClass.so that can't find the standard Python library module. Your message sort of implies that you were ensuring that ExtensionClass.so was in the library path, but the problem (I think) is that the Python libs are not in your path. I could be wrong and this could be an entirely unrelated issue. Can you run python normally? Import stuff like cPickle? -Michel Zach Frey wrote:
Sorry, coming in late here. The Env variable you need is LD_LIBRARY_PATH. Mine is set to
LD_LIBRARY_PATH=/usr/local/lib/:/usr/lib:/usr/local/ssl/lib:/usr/local/lib/m ysql
Thanks, Tony and Michel. Unfortunately, LD_LIBRARY_PATH doesn't seem to solve it, which is really puzzling.
The gory details are:
My base Zope installation is /usr/local/zope/Zope-2.1.4-src. So, ExtensionClass.so is in /usr/local/zope/Zope-2.1.4-src/lib/python. My LD_LIBRARY_PATH is /usr/local/zope/Zope-2.1.4-src/lib/python:/usr/local/lib:/usr/openwin/lib, which ought to pick up ExtensionClass.so.
Anything else which would cause the import to fail? I tried setting PYTHONPATH too, in desperation, but it doesn't seem to make any difference.
Thanks,
Zach Frey
P.S.: I did try the binary distribution on Solaris 2.5.1, and can report that it doesn't work. Zope fails to start up with an unresolved symbol error, so it really does require 2.6+.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )