Building MySQLdb on Solaris gives PyTuple_New not found

Hamish Lawson hamish_lawson at yahoo.co.uk
Thu Apr 13 17:09:29 CEST 2000


When I try to build MySQLdb-0.2.0 on Solaris 2.6 I get the
following relocation error about PyTuple_New:

------------------------------------------------------------

gcc   -I/usr/local/mysql/include -g -O2 -
I/usr/local/include/python1.5 -I/usr/lo
cal/include/python1.5 -DHAVE_CONFIG_H -c ./_mysqlmodule.c

ld -G  _mysqlmodule.o  -L/usr/local/mysql/lib -lmysqlclient -o
_mysqlmodule.so

Whoa, couldn't import _mysql: ld.so.1: python: fatal: relocation
error: file ./_
mysqlmodule.so: symbol PyTuple_New: referenced symbol not found

------------------------------------------------------------

Any suggestions?

Hamish Lawson


* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!




More information about the Python-list mailing list