Ben Bartrum wrote at 2008-1-29 08:51 -0800:
> ...
>  File "/www/zope/instance2.9.1/Products/ZMySQLDA/", line 89, in ?
>    import _mysql
>ImportError: python2.4: fatal: open failed: No 
>such file or directory
>If on the command line I do: python2.4 -c 'import _mysql' I get: 
>ImportError: python2.4: fatal:
>open failed: No such file or directory
>But if I do:
>setenv LD_LIBRARY_PATH /usr/local/lib/
>and then
>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:
> <environment>
>     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.

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to