Hi, I have installed zope en mysql correctly, and i want to install ZMySQLDA. I have read the Howto's but i cant find anything. The things i have installed: Zope 2.5.1 Python 2.1.3 Mysql 3.23.51 Mysql-Python (Include MySQLDB) MySQLDA Then i got this error that Zope can't find a file (see below for the error) i have tried putting the files in the directory, and in the product directory, but all these attempts fail. It just won't work. I also have set the MYSQLDB variable on other paths and checked the rights but it still won't work. Traceback (most recent call last): File "/temp/Zope-2.5.1-src/lib/python/OFS/Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/temp/Zope-2.5.1-src/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/temp/Zope-2.5.1-src/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/temp/Zope-2.5.1-src/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: libmysqlclient_r.so.10: cannot open shared object file: No such file or directory Cheers.
Install this: http://www.zope.org/Members/adustman/Products/MySQLdb You have not compiled the _mysql.c source file. If you are on a linux box, be sure to download the MySQL developer's library (which has the mysql.h header). This library is at the same location as the server and client packages. Joseph On Fri, 13 Sep 2002 14:39:04 +0200, Bas van Ombergen wrote
Hi,
I have installed zope en mysql correctly, and i want to install ZMySQLDA.
I have read the Howto's but i cant find anything.
The things i have installed: Zope 2.5.1 Python 2.1.3 Mysql 3.23.51 Mysql-Python (Include MySQLDB) MySQLDA
Then i got this error that Zope can't find a file (see below for the error) i have tried putting the files in the directory, and in the product directory, but all these attempts fail. It just won't work. I also have set the MYSQLDB variable on other paths and checked the rights but it still won't work.
Traceback (most recent call last): File "/temp/Zope-2.5.1-src/lib/python/OFS/Application.py", line 531, in import_product product=__import__(pname, global_dict, global_dict, silly) File "/temp/Zope-2.5.1-src/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/temp/Zope-2.5.1-src/lib/python/Products/ZMySQLDA/DA.py", line 92, in ? from db import DB File "/temp/Zope-2.5.1-src/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: libmysqlclient_r.so.10: cannot open shared object file: No such file or directory
Cheers.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
PCL Internet WebMail (http://www.pclnet.net)
On Fri, 2002-09-13 at 08:39, Bas van Ombergen wrote:
Hi,
I have installed zope en mysql correctly, and i want to install ZMySQLDA.
I have read the Howto's but i cant find anything.
The things i have installed: Zope 2.5.1 Python 2.1.3 Mysql 3.23.51 Mysql-Python (Include MySQLDB) MySQLDA
Oh, so you can give version numbers for everything except the parts that don't work, eh?
ImportError: libmysqlclient_r.so.10: cannot open shared object file: No such file or directory
You're missing MySQL client libraries. -- Andy Dustman PGP: 0x930B8AB6 @ .net http://dustman.net/andy "Cogito, ergo sum." -- Rene Descartes "I yam what I yam and that's all what I yam." -- Popeye
participants (3)
-
Andy Dustman -
Bas van Ombergen -
Joseph Griffin