[Zope] ZMySQLDA error
Phil Harris
phil@philh.org
Tue, 12 Oct 1999 10:35:30 +0100
If you have root access you can edit /etc/ld.so.conf and add the path to
libmysqlclient.so.6, in your case you need to add /usr/local/lib/mysql to
the end of the file.
Then run ldconfig.
then restart zope
That should fix the problem
-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of
Slaets, Maarten
Sent: Tuesday, October 12, 1999 10:15 AM
To: 'zope@zope.org'
Subject: [Zope] ZMySQLDA error
hi,
i keep getting this error no mather what i try:
<traceback>
ZMySQLDA Import Traceback
Traceback (innermost last):
File "/usr/local/Zope-2.0.1-src/lib/python/OFS/Application.py", line 393,
in import_products
product=__import__(pname, global_dict, global_dict, silly)
File "lib/python/Products/ZMySQLDA/__init__.py", line 106, in ?
File "/usr/local/Zope-2.0.1-src/lib/python/Products/ZMySQLDA/DA.py", line
108, in ?
from db import DB
File "/usr/local/Zope-2.0.1-src/lib/python/Products/ZMySQLDA/db.py", line
106, in ?
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? and how do I do this if I
run Zope with PCGI?
Maarten Slaets
KPNQwest Belgium
Contact info:
http://www.fonky.com/vcard/MaartenSlaets/
_______________________________________________
Zope maillist - Zope@zope.org
http://www.zope.org/mailman/listinfo/zope
(Related lists - please, no cross posts or HTML encoding!
To receive general Zope announcements, see:
http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org -
http://www.zope.org/mailman/listinfo/zope-dev )