Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have been using the mysql command line client a lot before but I suddenly start getting this error when I try to launch it.

mysql: relocation error: mysql: symbol strmov_overlapp, version libmysqlclient_16 not defined in file with link time reference

The only significant event that comes into my mind is updating from Ubuntu 9.10 to 10.4. I'm not sure if there's anything else that I did to mess it up.

I tried uninstalling both the mysql server and mysql client like so but to no avail.

sudo aptitude purge mysql-server-5.1

Any help will be much appreciated, thanks.

share|improve this question
write the command you try – o0'. May 7 '10 at 13:25

Looks like a library problem to me.

Try running ldconfig.

If that does not help I'd try to identify what package the mysql client comes with, remove and re-install that package. I'm not familiar with debian packages to know, but in redhat world mysql client has it's own package, separate from mysql-server and mysql-common.

Also try and identify what package comes from and uninstall/then re-install that package.

Also you have not changed architectures have you, e.g. moved from 32 to 64 bit? If so you might want to check which arch the mysql binary is (use the file command) and make sure that you have the right arch libraries installed.

share|improve this answer

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.