[Zope] Loading ZMySQLda on Solaris 7

Lee Marzke lmarzke@kns.com
Tue, 30 Jan 2001 15:28:37 -0500 (EST)


Hi,

After having no problems at all with Zope 2.3, and Mysql on Linux RedHad6.1
I tried getting this to work on a Solaris 7 SPARC machine with no luck.

Im using:

Solaris 7 (SunOS 5.7 )
GCC 2.95.1
Zope 2.3.0 
ZMySQLDA 1.2 
MySQL 3.22.32  compiled from source
Python 1.5.2, Python 1.6, Python2.0  all compiled with thread support.

When I try to load a ZMySQL object in Zope I keep getting the following
error:  Any ideas?

Thanks,


ImportError: ld.so.1: python: fatal: relocation error: file
/sw/scm/usr/lib/python1.5/site-packages/_mysql.so: symbol PyTuple_New:
referenced symbol not found


Traceback (innermost last):
  File
"/sw/scm/usr/Zope-2.3.0-solaris-2.6-sparc/lib/python/OFS/Application.py", line
530, in import_products
    product=__import__(pname, global_dict, global_dict, silly)
  File
"/sw/scm/usr/Zope-2.3.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/__init__.
py", line 106, in ?
    import sys, os, Globals, DA
  File
"/sw/scm/usr/Zope-2.3.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/DA.py",
line 108, in ?
    from db import DB
  File "/usr/share/zope/lib/python/Products/ZMySQLDA/db.py", line 106, in ?
ImportError: ld.so.1: /sw/scm/usr/Zope-2.3.0-solaris-2.6-sparc/bin/python:
fatal: relocation error: file
/sw/scm/usr/Zope-2.3.0-solaris-2.6-sparc/lib/python/Products/ZMySQLDA/_mysqlmodu
le.so: symbol PyObject_Init: referenced symbol not found



ee Marzke <lmarzke@kns.com>             30-Jan-01, 15:10:04
Kulicke & Soffa Industries
2101 Blair Mill Rd                       +1 215 784-6217
Willow Grove, PA 19090                   +1 215 784-6014 fax