Linode Forum Index Linode Forum
Linode Community Forums
 


Problem with MySQL using CentOS 6

Click here to go to the original topic

 
       Linode Forum Index -> General Discussion
Author Message
ronsoriano



Joined: 17 Oct 2011
Posts: 27

Posted: Sun Nov 27, 2011 3:49 am    Post subject: Problem with MySQL using CentOS 6  

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]
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Sun Nov 27, 2011 7:59 am    Post subject:  

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.)
Back to top  
ronsoriano



Joined: 17 Oct 2011
Posts: 27

Posted: Sun Nov 27, 2011 8:11 am    Post subject:  

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.
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Sun Nov 27, 2011 10:19 am    Post subject:  

Just remember to upgrade by March 2014. ;-)
Back to top  
Guspaz



Joined: 26 May 2009
Posts: 1150
Location: Montreal, QC

Posted: Mon Nov 28, 2011 10:09 am    Post subject:  

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
Back to top  
hoopycat



Joined: 30 Aug 2008
Posts: 1294
Location: Rochester, New York

Posted: Mon Nov 28, 2011 5:56 pm    Post subject:  

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.
Back to top  
 
       Linode Forum Index -> General Discussion
Page 1 of 1