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’ve been trying to install Dspam on my server (Ubuntu 10.04) but have been having some errors while configuring it.

I'm trying to do a ./configure using this

./configure --with-storage-driver=mysql_drv --with-mysql-libraries=/usr/lib/mysql

It runs through a configure and stops with

configure: error: Required version of libmysqlclient not found

Install is on Ubuntu 10.04 LTS (32 bit). I’m just scratching my head wondering why it can’t find the mysql libraries?

Any ideas?

share|improve this question
up vote 1 down vote accepted

If you're compiling something, you probably need the libmysqlclient-dev package, as it'll contain the necessary libraries and header files to build your client:

libmysqlclient-dev                        - MySQL database development files 
share|improve this answer
Installed that, but it is still giving me the same error message :( – Emmanuel Nov 16 '11 at 18:59
Oh! Actually, installing the dev package has fixed the problem. It didn't work just then because I left out --with-mysql-includes=DIR – Emmanuel Nov 16 '11 at 19:10

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.