I have built and sucessfully installed MySQLdb under Red Hat 7.1, but under Solaris 8 i get the following error when trying to run a simple script using MySQLdb:
Traceback (innermost last):
File "wreq-mysql.py", line 2, in ?
import MySQLdb
File "/usr/local/lib/python1.5/site-packages/MySQLdb/__init__.py", line 27, in ?
import _mysql
ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/python1.5/site-packages/_mysql.so: symbol PyTuple_New: referenced symbol not found
this only happens under Solaris 8, under Red hat 7.1 the exact same script works just fine.
Please help.........
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have built and sucessfully installed MySQLdb under Red Hat 7.1, but under Solaris 8 i get the following error when trying to run a simple script using MySQLdb:
Traceback (innermost last):
File "wreq-mysql.py", line 2, in ?
import MySQLdb
File "/usr/local/lib/python1.5/site-packages/MySQLdb/__init__.py", line 27, in ?
import _mysql
ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/python1.5/site-packages/_mysql.so: symbol PyTuple_New: referenced symbol not found
this only happens under Solaris 8, under Red hat 7.1 the exact same script works just fine.
Please help.........
OK Maybe a little more info will help here :
OS #1: Red Hat Linux 7.1
OS #2: Solaris 5.8
The following is the same on both OSs yet only Solaris 8 has the problem.
Python Version: 2.1.1
MySQLdb version: 0.9.1c2
Please help, I really need to get this working.