Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Nov 27, 2011 4:49 am 
Offline
Junior Member

Joined: Mon Oct 17, 2011 10:01 pm
Posts: 27
Hi, I'm having this kind of error
Quote:
error while loading shared libraries: libmysqlclient.so.15: cannot open shared object file: No such file or directory
what should I do to fix this?[/quote]


Top
   
 Post subject:
PostPosted: Sun Nov 27, 2011 8:59 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
It sounds like you need to install the MySQL client libraries for whatever you're trying to do, or else you're using a binary that was linked against a older version of MySQL/CentOS.

If this error came from a non-CentOS 6.0 binary, you need to get a newer version of it. If it came from something installed with CentOS 6.0 and you used the normal method to install it (yum), there's a bug. If it's something you're compiling yourself, make sure that the MySQL client development package is installed. (I don't know what they call it, but it's libmysqlclient-dev on Ubuntu and Debian.)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Sun Nov 27, 2011 9:11 am 
Offline
Junior Member

Joined: Mon Oct 17, 2011 10:01 pm
Posts: 27
It's okay now, I just rebuild it again back to Centos 5.0 so I can use MySQL 5.0 instead of 5.1.


Top
   
 Post subject:
PostPosted: Sun Nov 27, 2011 11:19 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Just remember to upgrade by March 2014. ;-)

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Nov 28, 2011 11:09 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
hoopycat wrote:
Just remember to upgrade by March 2014. ;-)
Are you sure that applies to CentOS 5.0? I'd think that it only applies to CentOS 5.7


Top
   
 Post subject:
PostPosted: Mon Nov 28, 2011 6:56 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
I'm assuming CentOS 5.x was meant by CentOS 5.0... the minor "releases" kinda melt into each other, with the expectation that regular updates on a CentOS 5.x box will eventually get you to CentOS max(5.x). (In RHEL, the minor releases are more of checkpoints in time over the life of a major release; an occasion to burn new CDs to save bandwidth during initial yum updates.)

A system pinned to CentOS 5.0 will have had its yum broken for about five years now.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group