nrpe compile on solaris 8 (Phil Costelloe)

Garrett, Matt M SITI-ITDIEEE matt.garrett at shell.com
Tue May 13 14:08:15 CEST 2003


> Subject: RE: [Nagios-users] nrpe compile on solaris 8
> Date: Tue, 13 May 2003 12:33:19 +0100
> From: "Phil Costelloe" <philc at foundation-it.com>
> To: "Nagios-Users (E-mail)" <nagios-users at lists.sourceforge.net>
> 
> > From: Garrett, Matt M SITI-ITDIEEE 
> [mailto:matt.garrett at shell.com]=20
> >=20
> > I am having problems compiling nrpe 2.0b3 on a solaris 8 system
> >=20
> > Errors I am seeing are
> >=20
> > cd ./src/; make ; cd ..
> > gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H=20
> > -L/usr/local/ssl/lib  -lssl -lcrypto -o nrpe -lnsl -lsocket=20
SNIP SNIP
> > Any suggestions on what I am doing wrong.
> 
> Just tried to compile nrpe 2.0b3 on a Solaris 8 system that
> happily compiled nrpe 1.8 and it failed big time on not
> being able to find Openssl header files (which are there,
> where you'd expect):
> 
> cd ./src/; make ; cd ..
> gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H
> -L/usr/local/ssl/lib
>   -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c
> In file included from ../common/config.h:190,
>                  from ../common/common.h:24,
>                  from nrpe.c:21:
> /usr/local/ssl/include/openssl/rsa.h:63: openssl/bio.h: No 
> such file or
> directory
> /usr/local/ssl/include/openssl/rsa.h:65: openssl/bn.h: No such file or
> directory
> /usr/local/ssl/include/openssl/rsa.h:66: openssl/crypto.h: No 
> such file
> or directory
> etc, etc, etc
> 
> So I'm afraid I can't be much help. :)
> 
> Phil
> 

I fixed my openssl includes to be hardcoded e.g

/usr/local/ssl/include/openssl/bio.h 
Now looks like
#ifndef OPENSSL_NO_FP_API
# include <stdio.h>
#endif
#include <stdarg.h>

#include </usr/local/ssl/include/openssl/crypto.h>
#include </usr/local/ssl/include/openssl/e_os2.h>


Or could have set LD_LIBRARY_PATH which I think would have worked.

Still does not solve my problem or the same one that Joe Leone has

Matt

Matthew Garrett
Unix System Support
Shell Information Technology International Limited
Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom

Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373
Email: Matt.M.Garrett at is.shell.com
Internet: http://www.shell.com


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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