Re: [exim] build exim static

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Patrice
Fecha:  
A: Paul Dekkers
Cc: exim-users
Asunto: Re: [exim] build exim static
Thank you Paul for you answer !

I just compiled my binary with -static , but when I try to execute it is
says : no such file or directory
the file is 755

is there a way to show which libraries are included into my static binary ?

Patrice

Paul Dekkers wrote:

> Hi,
>
> Patrice wrote:
>
>> is it possible to compil the exim binary in static ? (without using
>> .so files)
>> and if possible is it a good choice or not ?
>
>
> I used:
> LDFLAGS=-static
> ... in the Makefile. Don't know if this is the best place to put it,
> but it worked ;-)
>
> I used this to run exim in a FreeBSD jail (but you could use this with
> chroot too of course).
>
> Paul
>