Koozali.org: home of the SME Server

mysql client library error with ./configure jabberd2

phool

mysql client library error with ./configure jabberd2
« on: April 06, 2005, 12:57:59 PM »
Hi,
Im trying to compile and install jabberd2 for an intranet.

Im struggling.  Basically im a linux newbie.

I d/l the devel rpms and installed them okay from the contribs site

I d/l jabberd2 source, put it in /usr/src

./configure seemed to be complaining about libidn being not found so I read the jabberd2 docs and found i needed that ...d/l and compile okay:

tar -zxvf /home/e-smith/files/primary/files/libidn-0.5.9.tar.gz
./configure  make make clean and make install all seemed to work ok

Jabberd2 docs did mention issues with mysql and library locations

tried this
./configure --enable-mysql --enable-ssl --enable-idn --with-mysql=/usr/include/mysql:/usr/lib/mysql:/usr/lib

still seems to be complaining about mysql
It gets close i think


Last bit of the config is this:
checking for SSL_connect in -lssl... yes
checking for OpenSSL version >= 0.9.6b... yes
checking mysql.h usability... no
checking mysql.h presence... no
checking for mysql.h... no
checking for mysql.h in /usr/include/mysql... yes
checking for mysql_init in -lmysqlclient... no
configure: error: MySQL client libraries not found

Then it stops.  

How do i fix mysql client libraries???  I could u/g to   mysql 4 but "if it aint broke"...(and Ill just be back here with issues doing that too)

I think I have version 3.23.56
Im running 6.0Beta iirc

Thanks in advance

JD

I did u/g some packages to recent security releases iirc

Link to full compile output for ./configure  
http://www.ontheparkgp.com/jabbercompile.txt