[Zope] ZMySQLDA error

Oleg Broytmann phd@sun.med.ru
Tue, 12 Oct 1999 13:27:41 +0400 (MSD)


On Tue, 12 Oct 1999, Slaets, Maarten wrote:
>     import _mysql, regex, sys
> ImportError: ld.so.1: python: fatal: libmysqlclient.so.6: open failed: No
> such file or directory
> </traceback>
> 
> the file 'libmysqlclient.so.6' does exist, in /usr/local/lib/mysql.
> do I need to put it in an environment variable?

   No, you don't. But add it to ld.so search path. Do as root:

echo /usr/local/lib >> /etc/ld.so.conf
ldconfig

   Then restart Zope.

   I assuming you run linux. Other OSes require different approaches.

Oleg.
---- 
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.