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
--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/