Re: [exim] build exim static

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Patrice
Date:  
À: Paul Dekkers
CC: exim-users
Sujet: 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
>