[Exim] Building a static eximon.bin

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Sheldon Hearn
Data:  
Para: exim-users
Temas novos: [Exim] Re: Building a static eximon.bin (solved)
Asunto: [Exim] Building a static eximon.bin
Hi folks,

Has anyone had any joy trying to build a static eximon.bin? I really
don't want X11 libraries on my mail server just for eximon.bin, and I'd
really like to build a static binary on another non-production box and
then just copy the thing across.

I've never been very good at wrestling with linkers, and the closest
thing I've come up with is to prepend -pthread -static to the linker
command (gcc), and to insert -lSM -lICE immediately preceding -lX11.
This gets me down to only a handful of error messages, surrounding
duplicate symbols from libXaw.

Ciao,
Sheldon.