welcome: please sign in
location: Monitoring_Plugins

Based on RHEL6 x86_64.

Build Statically

   1 # prepare system, install glibc-static
   2 yum install glibc-static.x86_64 #glibc-static.i686 # for multiarch
   3 
   4 # 1st build openssl static lib, or use system package openssl-static
   5 cd /path/to/openssl
   6 ./Configure linux-x86_64 --prefix=/path/to/build/openssl
   7 make -j24 && make -j24 install
   8 
   9 # (Optional) re-generate libtool
  10 cd /path/to/monitoring-plugins
  11 #autoreconf -fi
  12 ./configure --prefix=/path/to/build/monitoring-plugins --with-openssl=/path/to/build/openssl --disable-shared --enable-static CFLAGS="-static"
  13 make LDFLAGS="-all-static -L/path/to/build/openssl/lib" -j24
  14 make -j24 install

Monitoring_Plugins (last edited 2017-09-25 18:03:14 by AstroProfundis)

How many stars in your bowl, How many sorrows in your soul?
CopyRight © 2011-2017 Allen Zhong, under a CC BY-NC-ND 4.0 License. | IPv6 Enabled.