- Greg Deputy, 2006-08-22 16:58
Sorry, I typo'd it in the quote below, I am actually using --with-mysql.
I'm not able to figure out what Config.log is trying to tell me, its at http://greg.blastzone.com/config.log if anyone can take the time to look.
Thanks again.
Looking at lines 4357ff, it seems like your MySQL libs have been linked against yaSSL, which in turn seems to be a C++ library - thus gcc can't figure out that it needs to link against libstdc++.so (and presumably a few more things in addition to that) as well.
I'm pretty sure that linking a plain C program like Dovecot against C++ libraries is asking for *lots* of trouble, provided that it's possible at all - which I very much doubt.
Looks like you'll either have to replace yaSSL with OpenSSL (or another SSL provider library written in plain C) on your system, or install OpenSSL in parallel to yaSSL. Then you'll need to get a MySQL version that's linked against OpenSSL rather than yaSSL.
The first variant (ie. ripping out yaSSL and replacing it with OpenSSL) is likely to break a few things on your system that depend on yaSSL, though. So, personally, I'd go for the second variant, which would result in the following steps needed on your system (with a bit of help from my trusty ol' crystal ball):
Replace yaSSL with OpenSSL, or install OpenSSL in parallel to yaSSL. As I said, the former would presumably break a few things on your system, so I'd aim for a parallel OpenSSL installation.
Recompile/reinstall MySQL, and make sure it's linked against OpenSSL rather than yaSSL this time.
Configure/compile Dovecot as usual, should work fine now.
HTH!
Thomas
=-------------------------------------------------------------------------=
- Thomas "ZlatkO" Zajic zlatko@gmx.at Linux-2.6.17 & Thunderbird-1.5 -
"It is not easy to cut through a human head with a hacksaw." (M. C.) -