[Zope] Latest ZMySQLDA Linux tarball doesn't work on RH6.1

Holger Lehmann lehmann@catworkx.de
Thu, 21 Jun 2001 17:07:21 +0200


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 dist=
uils=20
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 syste=
m=20
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
=2E../zope/lib/python1.5  (yes python1.5) and do a=20
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 w=
ith
> the following error
>
> Traceback (innermost last): File
> "/opt/Zope-2.3.3/lib/python/OFS/Application.py", line 528, in
> import_products product=3D__import__(pname, global_dict, global_dict, s=
illy)
> File "/opt/Zope-2.3.3/lib/python/Products/ZMySQLDA/__init__.py", line 9=
1,
> 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 ? imp=
ort
> _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 )

--=20
-----------------------------------
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