[JDEV] Building jabberd-2.0rc1: MySQL Path?
lists at infonaut.net
Tue Nov 25 05:19:17 CST 2003
Paul Curtis wrote:
> On Monday, November 24, 2003, at 01:07 PM, Douglas Anarino wrote:
>> 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
I had a problem were by MySQL had put headers in
/usr/local/mysql/include/mysql and libs in /usr/local/mysql/lib/mysql
there is no way to give one path to these as configure was just
appending libs and include to any path you give it. so I made a dir
called t and inside that made links called include and libs, these
linked to the relevant sub dirs in mysql.
I hope that made sense?
More information about the JDev