Re: [exim] Building Exim in a VServer

Top Page
Delete this message
Reply to this message
Author: Christian Recktenwald
Date:  
To: Marcin Krol
CC: exim-users
Subject: Re: [exim] Building Exim in a VServer
Hello Marcin,

On Sat, Dec 22, 2007 at 11:58:50AM +0100, Marcin Krol wrote:
> However, now Exim build process complains about missing zlib:
>
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libcrypto.a(c_zlib.o):
> In function `zlib_stateful_expand_block':
> (.text+0x7c): undefined reference to `inflate'
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libcrypto.a(c_zlib.o):
> In function `zlib_stateful_compress_block':
> (.text+0xfc): undefined reference to `deflate'
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libcrypto.a(c_zlib.o):
> In function `zlib_stateful_init':
> (.text+0x1ce): undefined reference to `inflateInit_'
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libcrypto.a(c_zlib.o):
> In function `zlib_stateful_init':
> (.text+0x243): undefined reference to `deflateInit_'
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libcrypto.a(c_zlib.o):
> In function `zlib_stateful_free_ex_data':
> (.text+0x33e): undefined reference to `inflateEnd'
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libcrypto.a(c_zlib.o):
> In function `zlib_stateful_free_ex_data':
> (.text+0x349): undefined reference to `deflateEnd'


if I use "nm -D  /usr/lib/libz.so.1.2.3" I get 
    0000a710 T inflate  
=> inflate() is present in /usr/lib/libz.so.1.2.3
(other symbols also)


So I'd rather assume your setup doesn't try to link libz at all.

This surely isn't an issue about vserver, it just will not happen if you
follow procedures carefully ;-)

> Here's the strace, maybe someone will be willing and able to spot
> smth:


( strace wo/ "-f" is useless as it just shows what "make" does but not its
children... )

-- 
Christian Recktenwald      : voice +49 711 601 2091  : Boeblinger Strasse 189
exim-users-dist@???  : fax   +49 711 601 2092  : D-70199 Stuttgart