[DB-SIG] MySQLdb build error

Babu Manjasetty babu@bessy.de
Tue, 27 Aug 2002 16:10:27 +0200 (CEST)


Hi there,

I try to build and install the MySQLdb 0.9.2 on linux Suse 8.0 and end
with the following error.

~/mysqldownload/MySQL-python-0.9.2> python setup.py build

running build
running build_py
not copying CompatMysqldb.py (output up-to-date)
not copying _mysql_exceptions.py (output up-to-date)
not copying MySQLdb/__init__.py (output up-to-date)
not copying MySQLdb/converters.py (output up-to-date)
not copying MySQLdb/connections.py (output up-to-date)
not copying MySQLdb/cursors.py (output up-to-date)
not copying MySQLdb/sets.py (output up-to-date)
not copying MySQLdb/times.py (output up-to-date)
not copying MySQLdb/constants/__init__.py (output up-to-date)
not copying MySQLdb/constants/CR.py (output up-to-date)
not copying MySQLdb/constants/FIELD_TYPE.py (output up-to-date)
not copying MySQLdb/constants/ER.py (output up-to-date)
not copying MySQLdb/constants/FLAG.py (output up-to-date)
not copying MySQLdb/constants/REFRESH.py (output up-to-date)
not copying MySQLdb/constants/CLIENT.py (output up-to-date)
running build_ext
building '_mysql' extension
skipping _mysql.c (build/temp.linux-i686-2.2/_mysql.o up-to-date)
gcc -shared build/temp.linux-i686-2.2/_mysql.o -L/usr/lib/mysql
-L/usr/local/lib/mysql -L/usr/local/mysql/lib/mysql -lmysqlclient_r -lz -o
build/lib.linux-i686-2.2/_mysql.so
/usr/i486-suse-linux/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status

error: command 'gcc' failed with exit status 1

This is the first time, I am installing the stuff on the computers.  Your
help is appreciated. Looking forward to hearing from you.

Babu

###################################################################

Dr. Babu A. Manjasetty
Protein Structure Factory
C/o Bessy GmbH
Albert-Einstein-Str.15
12489 Berlin Germany
Phone	: +49 (0)30 6392 4920
Fax	: +49 (0)30 6392 4975
e-mail	: babu@bessy.de

##################################################################