Latest ZMySQLDA Linux tarball doesn't work on RH6.1
Installing ZMySQLDA_Linux_i686 2.0.7 on RH 6.1 gives a broken product with the following error Traceback (innermost last): File "/opt/Zope-2.3.3/lib/python/OFS/Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/opt/Zope-2.3.3/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/opt/Zope-2.3.3/lib/python/Products/ZMySQLDA/DA.py", line 91, in ? from db import DB File "/opt/Zope-2.3.3/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /opt/Zope-2.3.3/lib/python/_mysql.so Anyone know if this is fixable ? Thanks Richard Moon richard@dcs.co.uk
Hi Richard, I strongly suggest you'll get yourself the sourcecode. Doing everything from scratch means: - Install Distutils (if not already on system) - Install MySQL-python - Install ZMySQLDA Distutils: First try the MySQL-python package if it does complain about missing distuils install them first: unpack change into directory call: python seetup.py build call: python seetup.py install done MySQL-python unpack change into directory call: python seetup.py build call: python seetup.py install done ZMySQLDA Unpack into ...zope/lib/python/Products/ restart Zope The Distuitls and MySQL-python packages install by default into the system wide site-packages directory of your python installation e.g.: /usr/lib/python/sote-packages Should you be running a binary Zope package you might want to change into .../zope/lib/python1.5 (yes python1.5) and do a ln -s /usr/lib/python/site-packages . (the dot . at the end is optional under Linux) If you run a self compiled Zope you might not experiene this problem. - Holger Am Donnerstag, 21. Juni 2001 15:45 schrieb Richard Moon:
Installing ZMySQLDA_Linux_i686 2.0.7 on RH 6.1 gives a broken product with the following error
Traceback (innermost last): File "/opt/Zope-2.3.3/lib/python/OFS/Application.py", line 528, in import_products product=__import__(pname, global_dict, global_dict, silly) File "/opt/Zope-2.3.3/lib/python/Products/ZMySQLDA/__init__.py", line 91, in ? import DA File "/opt/Zope-2.3.3/lib/python/Products/ZMySQLDA/DA.py", line 91, in ? from db import DB File "/opt/Zope-2.3.3/lib/python/Products/ZMySQLDA/db.py", line 89, in ? import _mysql ImportError: /lib/libc.so.6: version `GLIBC_2.1.3' not found (required by /opt/Zope-2.3.3/lib/python/_mysql.so
Anyone know if this is fixable ?
Thanks
Richard Moon richard@dcs.co.uk
_______________________________________________ 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 )
-- ----------------------------------- catWorkX GmbH Dipl.-Ing. Holger Lehmann Stresemannstr. 364 22761 Hamburg Tel: +49 (0700) catWorkX Tel: +49 (40) 890 646-0 Fax: +49 (40) 890 646-66 mailto:lehmann@catworkx.de http://www.catworkx.de http://www.catbridge.de
participants (2)
-
Holger Lehmann -
Richard Moon