[Zope] installing python MySQL/ZMySQLdb on FreeBSD

davis marques davismarques169@hotmail.com
Mon, 06 May 2002 14:51:27 -0700


hi Andy;

I've been trying to get your MySQL-python and ZMySQLdb products to run on my 
FreeBSD Zope setup and have had no luck thusfar.  I'm wondering if you've 
received any feedback from your FreeBSD users on successful setup 
procedures?

Zope doesn't seem to like the _mysql.so file and responds with 
"...site-packages/_mysql.so: ELF file OS ABI invalid"  Some searches on 
Google suggest that this is a problem of using a Linux library on a BSD 
machine, however I've upgraded the libraries to the latest versions using 
packages from BSD themselves and am still having the same problem.

Any workarounds you could suggest would be appreciated.

thanks


Davis Marques



zope error message ---

2002-05-06T21:30:23 ERROR(200) Zope Could not import Products.ZMySQLDA
Traceback (innermost last):
  File /usr/local/Zope-2.5.1-linux2-x86/lib/python/OFS/Application.py, line 
531, in import_product
  File 
/usr/local/Zope-2.5.1-linux2-x86/lib/python/Products/ZMySQLDA/__init__.py, 
line 91, in ?
  File /usr/local/Zope-2.5.1-linux2-x86/lib/python/Products/ZMySQLDA/DA.py, 
line 92, in ?
  File /usr/local/Zope-2.5.1-linux2-x86/lib/python/Products/ZMySQLDA/db.py, 
line 89, in ?
ImportError: 
/usr/local/Zope-2.5.1-linux2-x86/lib/python2.1/site-packages/_mysql.so: ELF 
file OS ABI invalid


Davis

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com