NRPE Static Compilation Proble

Subhasis Dasgupta sd at kaavo.com
Wed Sep 24 16:03:57 CEST 2008


Hi, 

 I am trying to figure out how to create a static build for nrpe classes ,
my requirement is I have to build a static build of NRPE from it source so
that I will just untar at remote machine and I don't need to compile it. Now
, I am doing the following steps.

 

.         I am configuring the using ./configure

.         Then I am editing at the Makefile which is in the src folder  => I
am editing the LDFLAGS like "LDFLAGS= -L/root/nrpe-2.8/libSSL/lib/libssl.a
/root/nrpe-2.8/libSSL/lib/libcrypto.a  -ldl -lssl -lcrypto "

.         Then compiling normally 

.         Now the nrpe file I have some dependencies , if I run ldd nrpe 

The result is :

        linux-gate.so.1 =>  (0xbfffe000)

        libdl.so.2 => /lib/libdl.so.2 (0x4b972000)

        libssl.so.5 => /lib/libssl.so.5 (0x4bc4a000)

        libcrypto.so.5 => /lib/libcrypto.so.5 (0x4bb15000)

        libnsl.so.1 => /lib/libnsl.so.1 (0x4b9f7000)

        libwrap.so.0 => /usr/lib/libwrap.so.0 (0xb7f2a000)

        libc.so.6 => /lib/libc.so.6 (0x4b847000)

        /lib/ld-linux.so.2 (0x4b829000)

        libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x4bc89000)

        libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x4bca3000)

        libcom_err.so.2 => /lib/libcom_err.so.2 (0x4ba23000)

        libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x4bc24000)

        libresolv.so.2 => /lib/libresolv.so.2 (0x4ba0e000)

        libz.so.1 => /usr/lib/libz.so.1 (0x4b9e2000)

        libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x4bc84000)

.          It seems like some dependencies are there 

I want to pack all this dependencies with my nrpe build , how could I solve
that

 

Kindly give me some idea .

 

Thank you for your time 

 

 

 

 

Subhasis Dasgupta

 

Kaavo 

 

 

 

 

****************************** Privileged and Confidential
Cmmunication****************************************************************
**************************************

The information contained in this e-mail message may involve confidential
and/or privileged material that is solely transmitted for the purposes of
the intended recipient(s). If the reader of this message is not an intended
recipient, or if this message has been inadvertently directed to your
attention, you are hereby notified that you have received this message and
any attached document(s) in error and that any review, dissemination,
distribution, or copying of this message is strictly prohibited. If you have
received this message in error, please notify us immediately by return
e-mail and delete and destroy all copies of the original message.

****************************************************************************
****************************************************************************
*******************

 

 

 

 

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.524 / Virus Database: 270.7.1/1687 - Release Date: 9/23/2008
6:32 PM

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080924/1a553bda/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list