[hobbit] Static compile
David Baldwin
david.baldwin at ausport.gov.au
Mon Mar 23 23:47:07 CET 2009
Øyvind,
> Is there anyone who knows how to do a static compile of the xymon client?
> We have some production servers running HP-unix 64bit, and the vendor doesn't want us to install the compile environment and necessary requirements for compiling a client.
> We have tried to do a standard compile externally, but after copying, it fails to run due to some missing .so files.
>
>
I built a statically linked version. I found that I had to edit the
Makefile in the client directory. LDFLAGS doesn't get passed to the linker.
I built a client RPM for VMware ESX 3.5. It has an older glibc than
Centos 4.7 which was my build environment. The only binary that I needed
to statically link was logfetch since it uses regex functions not in the
earlier library, all the others still worked.
David.
--
David Baldwin - IT Unit
Australian Sports Commission www.ausport.gov.au
Tel 02 62147830 Fax 02 62141830 PO Box 176 Belconnen ACT 2616
david.baldwin at ausport.gov.au Leverrier Street Bruce ACT 2617
-------------------------------------------------------------------------------------
Keep up to date with what's happening in Australian sport visit http://www.ausport.gov.au
This message is intended for the addressee named and may contain confidential and privileged information. If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you receive this message in error, please delete it and notify the sender.
-------------------------------------------------------------------------------------
More information about the Xymon
mailing list