Building MySQLdb on Solaris gives PyTuple_New not found

Hamish Lawson hamish_lawson at
Thu Apr 13 11:09:29 EDT 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

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


Any suggestions?

Hamish Lawson

* Sent from RemarQ 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