On Mon, 7 May 2001, Chris Knipe wrote:
> This compiles successfully, with no errors in linking to mysqlclient, and I
> have a working binary for exim.
>
> However, the binary is only like 500kb, in comparison to the exim binary on
> one of my RedHat machines, also with mySQL Support - the binary on RedHat is
> almost 1.5MB...
Check that there really is an MySQL library linked in there. There's
some command which tells you what's in a binary, but I can never
remember the name.
> When I try to add my config mysql_servers =
> localhost/database/user/password, exim complains that mysql_servers is a
> unknown option. Thus, it does not have the mySQL support compiled in, even
> when it was specified in the Makefile.
That does suggest an incorrect binary. Have a look in the file config.h
in the build directory, just to double check that it has got
#define LOOKUP_MYSQL yes
in it. If not, try "make clean" and rebuild.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.