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?


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 
  • 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 clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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