Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

Your Answer

 
discard

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.