[Zope] Installation trouble on Solaris 2.6
Steven Purchase
Steven.Purchase@rdel.co.uk
Mon, 06 Mar 2000 16:33:58 +0000
I'm trying this on SunOS 5.5.1, and am getting more less the same
results. See my other article [Problems Installing Zope]...
I have tried adding both the python dynload directory, and even
the Zope/lib/python directory to LD_LIBRARY_PATH, both of which
are no help.
The error I get is a little different:
File "/new1/misc/Zope-2.1.3-src/lib/python/ZODB/__init__.py",
line 85, in ?
import sys, ExtensionClass, TimeStamp, cPersistence,
Persistence
ImportError: No module named ExtensionClass.
As mention somewhere in this thread, this all stems from line 436
in z2.py :)
Any ideas?
Michel Pelletier wrote:
>
> 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.
--
Steve.