Re: [Exim] More mySQL

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Chris Knipe
Date:  
À: Oliver Cook
CC: exim-users
Sujet: Re: [Exim] More mySQL
On Tue, 8 May 2001, Oliver Cook wrote:

> On Tue, May 08, 2001 at 04:25:47PM +0100, Philip Hazel wrote:
> > 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.
>
> it's: ldd /path/to/binary


FreeBSD System (530k)
/usr/local/bin/exim:
        libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x280db000)
        libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x280f0000)
        libperl.so.3 => /usr/lib/libperl.so.3 (0x2810a000)
        libm.so.2 => /usr/lib/libm.so.2 (0x281a2000)
        libc.so.4 => /usr/lib/libc.so.4 (0x281bd000)
        libz.so.2 => /usr/lib/libz.so.2 (0x28253000)
        libutil.so.3 => /usr/lib/libutil.so.3 (0x28260000)


RedHat (1.5M)
/usr/sbin/exim
        libnsl.so.1 => /lib/libnsl.so.1 (0x4001d000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40034000)
        libdb-3.1.so => /lib/libdb-3.1.so (0x40061000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x400dd000)
        libmysqlclient.so.9 => /usr/lib/mysql/libmysqlclient.so.9 (0x400ef000)
        libdl.so.2 => /lib/libdl.so.2 (0x4011a000)
        libm.so.6 => /lib/libm.so.6 (0x4011d000)
        libc.so.6 => /lib/libc.so.6 (0x4013d000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4025b000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


I guess then yes, it is linked.... I still fail to see why exim would
recognize any of the mysql configuration commands in the configure
file. I thought about myself having bad source code, and even downloaded
exim 3.22 three times, from three different locations... Same result :-(

--

Regards
Chris Knipe
Vardus PTY(LTD)
Systems Administrator