Run ./configure with the following options. Tailor to your specific needs, but the set below will work for most situations where you just want to run Postfix->SASL authentication without using saslauthd, etc. At the very least, you NEED to include --enable-sql, --with-mysql=/usr (/usr will work for most Red Hat and SuSE distributions, but your path may be different), and --with-plugindir=/usr/lib/sasl2 (again, /usr/lib/sasl2 will work for most Red Hat and SuSE distributions, but your path may be different -- and, if you're running x86_64, you may need to deal with /usr/lib64 as well).
./configure \
--enable-sql \
--with-mysql=/usr \
--enable-anon \
--enable-plain \
--enable-login \
--disable-krb4 \
--disable-otp \
--disable-cram \
--disable-digest \
--without-pam \
--without-saslauthd \
--without-pwcheck \
--with-dblib=berkeley \
--with-bdb-libdir=/usr/local/bdb/lib \
--with-bdb-incdir=/usr/local/bdb/include \
--with-openssl=/usr/lib/openssl \
--with-plugindir=/usr/lib/sasl2