<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Copperplate Gothic Light";
        panose-1:2 14 5 7 2 2 6 2 4 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle20
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1469515629;
        mso-list-type:hybrid;
        mso-list-template-ids:274755472 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        margin-left:.25in;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l0:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1
        {mso-list-id:1532645218;
        mso-list-type:hybrid;
        mso-list-template-ids:1615883820 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l1:level2
        {mso-level-tab-stop:1.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level3
        {mso-level-tab-stop:1.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level4
        {mso-level-tab-stop:2.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level5
        {mso-level-tab-stop:2.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level6
        {mso-level-tab-stop:3.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level7
        {mso-level-tab-stop:3.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level8
        {mso-level-tab-stop:4.0in;
        mso-level-number-position:left;
        text-indent:-.25in;}
@list l1:level9
        {mso-level-tab-stop:4.5in;
        mso-level-number-position:left;
        text-indent:-.25in;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi, <o:p></o:p></p>

<p class=MsoNormal> 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.<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>I am configuring the using ./configure<o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>Then I am editing at the Makefile which is in
the src folder  => I am editing the LDFLAGS like “<b>LDFLAGS=
-L/root/nrpe-2.8/libSSL/lib/libssl.a
 /root/nrpe-2.8/libSSL/lib/libcrypto.a  -ldl -lssl –lcrypto ”<o:p></o:p></b></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>Then compiling normally <o:p></o:p></p>

<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l1 level1 lfo2'><![if !supportLists]><span
style='font-family:Symbol'><span style='mso-list:Ignore'>·<span
style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]>Now the nrpe file I have some dependencies , if
I run ldd nrpe <o:p></o:p></p>

<p class=MsoListParagraph>The result is :<o:p></o:p></p>

<p class=MsoListParagraph>       
linux-gate.so.1 =>  (0xbfffe000)<o:p></o:p></p>

<p class=MsoListParagraph>        libdl.so.2
=> /lib/libdl.so.2 (0x4b972000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libssl.so.5 => /lib/libssl.so.5 (0x4bc4a000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libcrypto.so.5 => /lib/libcrypto.so.5 (0x4bb15000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libnsl.so.1 => /lib/libnsl.so.1 (0x4b9f7000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libwrap.so.0 => /usr/lib/libwrap.so.0 (0xb7f2a000)<o:p></o:p></p>

<p class=MsoListParagraph>        libc.so.6
=> /lib/libc.so.6 (0x4b847000)<o:p></o:p></p>

<p class=MsoListParagraph>       
/lib/ld-linux.so.2 (0x4b829000)<o:p></o:p></p>

<p class=MsoListParagraph>      
 libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x4bc89000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x4bca3000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libcom_err.so.2 => /lib/libcom_err.so.2 (0x4ba23000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x4bc24000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libresolv.so.2 => /lib/libresolv.so.2 (0x4ba0e000)<o:p></o:p></p>

<p class=MsoListParagraph>        libz.so.1
=> /usr/lib/libz.so.1 (0x4b9e2000)<o:p></o:p></p>

<p class=MsoListParagraph>       
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x4bc84000)<o:p></o:p></p>

<p class=MsoListParagraph style='margin-left:.25in;text-indent:-.25in;
mso-list:l0 level1 lfo4'><![if !supportLists]><span style='font-family:Symbol'><span
style='mso-list:Ignore'>·<span style='font:7.0pt "Times New Roman"'>        
</span></span></span><![endif]> It seems like some dependencies are there <o:p></o:p></p>

<p class=MsoNormal>I want to pack all this dependencies with my nrpe build ,
how could I solve that<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Kindly give me some idea .<o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal>Thank you for your time <o:p></o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoListParagraph><o:p> </o:p></p>

<p class=MsoListParagraph><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-family:"Copperplate Gothic Light","sans-serif"'>Subhasis
Dasgupta<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-family:"Copperplate Gothic Light","sans-serif"'><o:p> </o:p></span></p>

<p class=MsoNormal><span style='font-family:"Copperplate Gothic Light","sans-serif"'>Kaavo
<o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:2.4pt;
line-height:14.4pt'><span style='font-size:8.0pt;font-family:"Times New Roman","serif";
color:navy'>****************************** <b>Privileged and Confidential
Cmmunication</b>******************************************************************************************************</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:2.4pt;
line-height:14.4pt'><span style='font-size:8.0pt;font-family:"Times New Roman","serif";
color:navy'>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.</span><span style='font-size:12.0pt;
font-family:"Times New Roman","serif";color:black'><o:p></o:p></span></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
line-height:14.4pt'><span style='font-size:8.0pt;font-family:"Times New Roman","serif";
color:navy'>***************************************************************************************************************************************************************************</span><span
style='font-size:12.0pt;font-family:"Times New Roman","serif";color:black'><o:p></o:p></span></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p> </o:p></span></p>

<p><span style='font-size:10.0pt'>No virus found in this outgoing message.<br>
Checked by AVG.<br>
Version: 7.5.524 / Virus Database: 270.7.1/1687 - Release Date: 9/23/2008 6:32
PM</span><o:p></o:p></p>

</div>

</body>

</html>