omnios

How to static link Linux software that uses ./configure?

不想你离开。 提交于 2019-11-30 06:37:57
I would like to compile NRPE static, so I can copy the compiled binary to an OmniOS server, where I don't want gcc to be installed on. I would prefer to install NRPE with SSl support from a repository, but such doesn't seam to exist, so I would like to compile it myself. However the ./configure script doesn't contain a static option it seams ~/nrpe-2.15# ./configure --help | grep static ~/nrpe-2.15# ./configure --help | grep share --datadir=DIR read-only architecture-independent data [PREFIX/share] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] Question How do I

How to static link Linux software that uses ./configure?

≡放荡痞女 提交于 2019-11-29 06:14:54
问题 I would like to compile NRPE static, so I can copy the compiled binary to an OmniOS server, where I don't want gcc to be installed on. I would prefer to install NRPE with SSl support from a repository, but such doesn't seam to exist, so I would like to compile it myself. However the ./configure script doesn't contain a static option it seams ~/nrpe-2.15# ./configure --help | grep static ~/nrpe-2.15# ./configure --help | grep share --datadir=DIR read-only architecture-independent data [PREFIX