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

Douglas Anarino lists at syntropo.com
Wed Nov 26 12:13:30 CST 2003


Thanks for your help! I don't have a libmysqlclient.so file in my MySQL 
installation, just libmysqlclient.a and libmysqlclient_r.a files. I 
installed MySQL from a package file - maybe it didn't include this 
file? Is there a way to build it from the files I have, or do I need to 
build MySQL from source?

This all seems very complex to me - I would think jabberd would just 
require some options in config.xml to use a database. Will I have to 
rebuild jabberd each time I switch databases?

Thanks,
doug
http://syntropo.com/



On Nov 24, 2003, at 7:41 PM, Paul Curtis wrote:

>
> 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
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>




More information about the JDev mailing list