<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="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 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:sans-serif;
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p.Code, li.Code, div.Code
{margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
font-size:9.0pt;
font-family:"Courier New";}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Courier New";
color:blue;
font-weight:normal;
font-style:normal;
text-decoration:none none;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>Howdy, if it is a
64bit system, you might need both 32bit and 64bit versions of openssl and
openssl-devel installed.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'>I believe I had
to do that on my SLES9 PPC64 systems.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=blue face="Courier New"><span
style='font-size:10.0pt;font-family:"Courier New";color:blue'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <b><span style='font-weight:
bold'>On Behalf Of </span></b>mark.potter@academy.com<br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, October 24, 2007
08:44<br>
<b><span style='font-weight:bold'>To:</span></b>
nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> [Nagios-users] Nagios
Plugins 2.10 build problem</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><br>
</span></font><font size=2 face=sans-serif><span style='font-size:10.0pt;
font-family:sans-serif'>I am having an issue with an up to date SLES 9.3 server
and the latest release of Nagios Plugins. I have the proper devel
packages installed as shown below but the plugins still will not build:</span></font>
<br>
<br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>if
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/local/ssl/include -I/usr/local/ssl/include
-g -O2 -MT check_http.o -MD -MP -MF ".deps/check_http.Tpo" -c
-o check_http.o check_http.c; \</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>then
mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm
-f ".deps/check_http.Tpo"; exit 1; fi</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/bin/sh
../libtool --tag=CC --mode=link gcc -g -O2 -L. -L/usr/local/ssl/lib
-o check_http check_http.o sslutils.o netutils.o utils.o
../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl -lcrypto</span></font>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>gcc
-g -O2 -o check_http check_http.o sslutils.o netutils.o utils.o -L/root/scratch/nagios-plugins-1.4.10/plugins
-L/usr/local/ssl/lib ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lresolv -lssl
-lcrypto</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x247):
In function `dlfcn_bind_func':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlsym'</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x293):
In function `dlfcn_bind_func':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlerror'</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x323):
In function `dlfcn_bind_var':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlsym'</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x391):
In function `dlfcn_bind_var':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlerror'</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x3eb):
In function `dlfcn_unload':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlclose'</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x485):
In function `dlfcn_load':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlopen'</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x4e5):
In function `dlfcn_load':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlclose'</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>/usr/local/ssl/lib/libcrypto.a(dso_dlfcn.o)(.text+0x50e):
In function `dlfcn_load':</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>:
undefined reference to `dlerror'</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>~/scratch/nagios-plugins-1.4.10
# rpm -qa | grep ssl</span></font> <br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>openssl-0.9.7d-15.32</span></font>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>openssl-devel-0.9.7d-15.32</span></font>
<br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>I
cannot see a requirement in ./configure for a newer version. I tried to use
gnutls and met with the same sort of issue. I feel it is something obvious I am
missing. Any help would be appreciated.</span></font> <br>
<br>
<font size=2 face=sans-serif><span style='font-size:10.0pt;font-family:sans-serif'>Best
Regards,<br>
<br>
Mark L. Potter<br>
Systems Engineer<br>
Academy Sports & Outdoors</span></font><o:p></o:p></p>
</div>
</body>
</html>