Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to install something on my server that requires mysqlclient, but looking at my RPM package list I have it ("MySQL-client-5.0.91-0.glibc23"). Doing a locate on libmysqlclient gives me this:

[] ~ >> locate libmysqlclient

For some reason it looks like I'm missing Does anyone know why this could be? How do I go about getting it? I'm currently running CentOS 5.

Thanks a lot.

share|improve this question
up vote 0 down vote accepted is provided by MySQL 5.1 packages. There are two solutions here:

  1. Install MySQL 5.1 from a third party repository;
  2. Install the package with --nodeps and see if it can work with MySQL 5.0 instead of 5.1 .
share|improve this answer
Re 2: No, if a library is listed as a requirement then it really is needed. – Ignacio Vazquez-Abrams Oct 20 '10 at 8:18
The other way of looking at this is that the package you're trying to install isn't intended for use on CentOS/RHEL 5. Where did the package come from, and does the vendor / distributor / project provide one intended for CentOS5? The software may not actually need MySQL 5.1 / libmysqlclient-16 features, but the package requires them because it's intended for use on, eg, Fedora 13, which has that version; in that case, a package intended for CentOS5 may exist. If the software really does need MySQL 5.1, then your options are to install a second MySQL or wait for CentOS 6 (any day now!). – MadHatter Oct 20 '10 at 8:53
@Ignacio : In my experience it depends on the quality of the package. It might be that it simply describes what the packager has been able to test on. Not all packages are RHEL-quality. – Robert Munteanu Oct 20 '10 at 8:57
@Robert: In about 99.99% of the cases where a library is listed as a requirement, it is there because rpmbuild itself detected, via ldd or objdump, that the library is needed by a binary at load time. – Ignacio Vazquez-Abrams Oct 20 '10 at 9:02
@Ignacio: But doesn't that depend on the local setup of the packager? If it finds , it has no way of knowing whether a plain will work or not. – Robert Munteanu Oct 20 '10 at 9:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.