Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-02-2008, 04:26 AM   #1
LQ Newbie
Registered: Jan 2008
Posts: 20

Rep: Reputation: 0
Problem with installation of MySQL python


In the process of setting up a boinc server, i am trying to install MySQL-python-1.2.2,
during the process, m getting this error!!

python build
running build
running build_py
copying MySQLdb/ -> build/lib.linux-i686-2.3/MySQLdb
running build_ext
building '_mysql' extension
gcc -pthread -shared build/temp.linux-i686-2.3/_mysql.o -L/usr/local/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -o build/lib.linux-i686-2.3/
/usr/bin/ld: cannot find -lmysqlclient_r
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I have also installed the MySQL client community package..

along with

I am using a CENTOS 4 machine..
kindly help me out as with how I should proceed further??
Old 02-02-2008, 10:43 AM   #2
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
it looks like you have a gcc compiler that's not compatible with your packge.

see the requirements for the package you are about to install and look for compiler or gcc section.

Isn't an RPM package for mysql-python?
have you tried:
yum install mysql-python

Last edited by waelaltaqi; 02-02-2008 at 10:45 AM.
Old 02-03-2008, 02:57 AM   #3
LQ Newbie
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
yes..i have tried the following output

Setting up Install Process
Setting up Repos [Errno 4] IOError: <urlopen error (110, 'Connection timed out')>
Trying other mirror.
Cannot open/read repomd.xml file for repository: addons
failure: repodata/repomd.xml from addons: [Errno 256] No more mirrors to try.

no its a tar.gz package..
i didnt find rpm package

wat do i do now??
Old 02-03-2008, 09:35 AM   #4
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
The error message is saying "connection timed out" ... that means you internet connection dropped or the repository you are trying to use dropped off for some reason.

have you tested you network/internet connection?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing mysql-python on Mac OS X Travis86 Linux - Software 0 11-05-2006 10:14 PM
Problem with my MySQL installation jabird Red Hat 12 03-07-2005 07:40 PM
Installation problem in MySQL mchithu Linux - Software 0 01-07-2005 08:25 AM
python DB-API for MySQL install problem SheldonPlankton Programming 1 07-27-2004 05:55 PM
MySQL 4.0.12 installation problem. Swift&Smart Linux - Software 10 04-07-2003 10:54 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration