"Andreas Winkelmann" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Am Dienstag, 11. Mai 2004 17:03 schrieb Eric Benzacar:
> Aha! Good call. I found the following in the config.log: > > configure:27206: checking for mysql_select_db in -lmysqlclient > configure:27236: gcc -o > conftest -Wall -W -O2 -g -pipe -march=i386 -mcpu=i686 -I/usr/include/mysql > -I/usr/kerberos/include -I/usr/include/mysql -L/usr/kerberos/lib > -L/usr/k erberos/lib > conftest.c -lmysqlclient -L/usr/lib/mysql -R/usr/lib/mysql -lresolv -lcrypt > > >&5 > > gcc: unrecognized option `-R/usr/lib/mysql' > /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0xbc): In function > > `my_compress_alloc': > : undefined reference to `compress' > > /usr/lib/mysql/libmysqlclient.a(my_compress.o)(.text+0x13a): In function > > `my_uncompress': > : undefined reference to `uncompress' > > collect2: ld returned 1 exit status > configure:27242: $? = 1 Did you install "libz" and devel-package of libz? Maybe in Package "zlib"? Nope - I have both zlib-1.1.4-8.1 and zlib-devel-1.1.4-1.1 installed. Arrrg. I even d/l'ed the MySQL.src.rpm and recompiled the entire thing on my system, and then proceeded to upgrade/replace my current files. I then tried to recompile cyrus-sasl with the --with-mysql=/usr argument, and still get the same results in the config.log file! Am getting to my wit's ends here. Aha! Okay, am advancing SLOWLY in this world. FINALLY got the cyrus-sasl pkg compiled (I think) properly with mysql support (no warnings in the config.log, but how can I check to make sure? Which library should be linked to libmysqlclient?). Thanks to Nels Lindquist who pointed out that the libmysqlclient.a library is linked with zlib, and need an extra compile time switch -lz in the configure script whever it references -lmysqlclient. (ie: -lmysqlclient -lz) I installed the newly compiled version, but am _STILL_ getting the following error msgs in auth.log when I start cyrus-master. May 11 16:25:31 linuxmail saslauthd[5716]: ipc_init : listening on socket: /var/run/saslauthd/mux May 11 16:25:32 linuxmail pop3[5730]: sql_select option missing May 11 16:25:32 linuxmail lmtpunix[5732]: sql_select option missing May 11 16:25:32 linuxmail imap[5728]: sql_select option missing May 11 16:25:32 linuxmail pop3[5730]: auxpropfunc error no mechanism available May 11 16:25:32 linuxmail pop3s[5731]: sql_select option missing May 11 16:25:32 linuxmail lmtpunix[5732]: auxpropfunc error no mechanism available May 11 16:25:32 linuxmail imap[5728]: auxpropfunc error no mechanism available May 11 16:25:32 linuxmail pop3[5730]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql May 11 16:25:32 linuxmail pop3s[5731]: auxpropfunc error no mechanism available May 11 16:25:32 linuxmail imaps[5729]: sql_select option missing May 11 16:25:32 linuxmail lmtpunix[5732]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql May 11 16:25:32 linuxmail imap[5728]: _sasl_plugin_load failed on sasl_auxprop_plug_init for plugin: sql Did I forget something in a config file somewhere? Do I have a missing library or something? I'm getting extremely frustrated here - I can't imagine why I'm having so much trouble installing / building this! Thanks for all your help! Eric --- Cyrus Home Page: http://asg.web.cmu.edu/cyrus Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html