[JDEV] Building jabberd-2.0rc1: MySQL Path?

Paul Curtis pcurtis at terrapin.com
Mon Nov 24 18:41:51 CST 2003


On Monday, November 24, 2003, at 01:07 PM, Douglas Anarino wrote:

> Hi,
>
> I'm trying to build the latest jabberd with the following command:
>
>> ./configure --with-mysql=/usr/local/mysql/lib:/usr/local/mysql/include
>
> And get the following error:
>
>> checking for MySQL in /usr/local/mysql/lib and 
>> /usr/local/mysql/include... no
>> configure: error: Could not find MySQL  (or higher)
>
> I've tried just sending /usr/local/mysql and a million other 
> variations. Does anyone know specifically what files the configure 
> script is looking for?

The configure script is actually compiling a small program to test.

Try setting the LD_LIBRARY_PATH environment variable to the location of 
the libmysqlclient.so file. For example:

export LD_LIBRARY_PATH=/usr/local/mysql/lib

paul




More information about the JDev mailing list