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:
> > [EMAIL PROTECTED]:~$ ldd /usr/sbin/exim4 | grep mysql
> >         libmysqlclient.so.15 => /usr/lib/libmysqlclient.so.15 
> > (0x00002b568d1c8000)
> > [EMAIL PROTECTED]:~$
> 
> 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   |
|  [EMAIL PROTECTED]             | abroad.                                 |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to