Re: [exim] Error compiling Exim 4.69

Top Page
Delete this message
Reply to this message
Author: Stephen Gran
Date:  
To: exim-users
Subject: Re: [exim] Error compiling Exim 4.69
On Sat, Jul 19, 2008 at 08:17:42PM +0200, Yves Goergen said:
> On 19.07.2008 19:43 CE(S)T, Stephen Gran wrote:
> > steve@vancouver:~$ ldd /usr/sbin/exim4 | grep mysql
> >         libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 (0x00002b568d1c8000)
> > steve@vancouver:~$

>
> I compared the exim binary right from the build directory on both
> machines. On the prod server, it is identical to the test server, with
> two exceptions. It lacks the following two lines which the exim binary
> on the test machine shows:
>
>          libmysqlclient.so.15 => not found
>          libz.so.1 => /usr/lib/libz.so.1 (0xb7e66000)

>
> Also, the production server binary is much larger, 2419242 vs. 776199 bytes.
>
> So maybe the mysql and libz stuff was compiled statically on the other
> server? But what environment setting or invisible makefile switch could
> make it do that? The makefile is the same as far as I can see.


Do you have libmysqlclient.a on the prod server instead of .so ? That
could possibly force static linking.
--
--------------------------------------------------------------------------
|  Stephen Gran                  | Revolution, n.:  A form of government   |
|  steve@???             | abroad.                                 |
|  http://www.lobefin.net/~steve |                                         |

--------------------------------------------------------------------------