[Zope] problem authenticating, even with emergency user
dieter at handshake.de
Wed Jan 30 13:29:05 EST 2008
Ben Bartrum wrote at 2008-1-29 08:51 -0800:
> File "/www/zope/instance2.9.1/Products/ZMySQLDA/db.py", line 89, in ?
> import _mysql
>ImportError: ld.so.1: python2.4: fatal: libmysqlclient.so.12: open failed: No such file or directory
>If on the command line I do: python2.4 -c 'import _mysql' I get:
>ImportError: ld.so.1: python2.4: fatal: libmysqlclient.so.12:
>open failed: No such file or directory
>But if I do:
>setenv LD_LIBRARY_PATH /usr/local/lib/
>python2.4 -c 'import _mysql'
>it returns no error.
>So to get the same effect for Zope, I have tried this in the zope.conf:
> LD_LIBRARY_PATH /usr/local/lib/
>Unfortunately, this has no effect. Any ideas?
This is too late.
The dynamic loader looks at "LD_LIBRARY_PATH" on startup
and then caches the value. Later modification have no effect
on the current process.
You need to set "LD_LIBRARY_PATH" before you start Zope.
More information about the Zope