Hi
I installed Zope2.6.2. and got it running OK, but I tried adding ZMySQLDA-2.0.8 with MySQL-python-0.9.2 and now Zope doesn't start but gives error messages:
zeno # ./start
------
2003-10-02T14:17:05 INFO(0) zdaemon Started subprocess: pid 15645
------
2003-10-02T14:17:09 ERROR(200) Zope Could not import Products.ZMySQLDA
Traceback (innermost last):
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 522, in import_product
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/__init__.py, line 91, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/DA.py, line 92, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/db.py, line 89, in ?
ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /usr/local/lib/python2.1/site-packages/_mysql.so: symbol mysql_errno: referenced symbol not found
------
2003-10-02T14:17:09 PANIC(300) z2 Startup exception
Traceback (innermost last):
File /usr/local/zope/Zope-2.6.2-src/z2.py, line 585, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in startup
(Object: startup)
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/App/startup.py, line 45, in startup
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 500, in import_products
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 522, in import_product
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/__init__.py, line 91, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/DA.py, line 92, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/db.py, line 89, in ?
ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /usr/local/lib/python2.1/site-packages/_mysql.so: symbol mysql_errno: referenced symbol not found
Any help much appreciated.
Solaris 9
Zope 2.6.2
Python-2.1.3
gcc-3.3.1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-10-03
Forgot to add:
mysql-standard-4.0.15a-sun-solaris2.9-sparc-64bit
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You are told that it can't finde: mysql_errno
mysql_errno (and a number of other relevant files) should be in your mysql folder in the folder include. Copy its content to /usr/include/mysql
cp -r <path to your mysql-folder>/include /usr/include/mysql
That should fix it. But, please let me (us) know if you can make ZMySQLDA work with zope2.6.2, because I couldn't. Cf. my thread just below yours.
Flemming
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I installed Zope2.6.2. and got it running OK, but I tried adding ZMySQLDA-2.0.8 with MySQL-python-0.9.2 and now Zope doesn't start but gives error messages:
zeno # ./start
------
2003-10-02T14:17:05 INFO(0) zdaemon Started subprocess: pid 15645
------
2003-10-02T14:17:09 ERROR(200) Zope Could not import Products.ZMySQLDA
Traceback (innermost last):
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 522, in import_product
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/__init__.py, line 91, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/DA.py, line 92, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/db.py, line 89, in ?
ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /usr/local/lib/python2.1/site-packages/_mysql.so: symbol mysql_errno: referenced symbol not found
------
2003-10-02T14:17:09 PANIC(300) z2 Startup exception
Traceback (innermost last):
File /usr/local/zope/Zope-2.6.2-src/z2.py, line 585, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/__init__.py, line 46, in startup
(Object: startup)
File /usr/local/zope/Zope-2.6.2-src/lib/python/Zope/App/startup.py, line 45, in startup
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 500, in import_products
File /usr/local/zope/Zope-2.6.2-src/lib/python/OFS/Application.py, line 522, in import_product
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/__init__.py, line 91, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/DA.py, line 92, in ?
File /usr/local/zope/Zope-2.6.2-src/lib/python/Products/ZMySQLDA/db.py, line 89, in ?
ImportError: ld.so.1: /usr/local/bin/python: fatal: relocation error: file /usr/local/lib/python2.1/site-packages/_mysql.so: symbol mysql_errno: referenced symbol not found
Any help much appreciated.
Solaris 9
Zope 2.6.2
Python-2.1.3
gcc-3.3.1
Forgot to add:
mysql-standard-4.0.15a-sun-solaris2.9-sparc-64bit
You are told that it can't finde: mysql_errno
mysql_errno (and a number of other relevant files) should be in your mysql folder in the folder include. Copy its content to /usr/include/mysql
cp -r <path to your mysql-folder>/include /usr/include/mysql
That should fix it. But, please let me (us) know if you can make ZMySQLDA work with zope2.6.2, because I couldn't. Cf. my thread just below yours.
Flemming