I am installing Nagios NRPE daemon on a Solaris OS10 (Unix) machine. Since I am new to Unix environment, please provide as much detail to help me going in the right direction.
I am providing as much detail that i can. Listed as follows:
Installing nagios-plugins-1.4.14
Unix OS - Solaris OS 10 running on Sun Sparc hardware
Followed the NRPE documention on the install
Installed Sun Studio 12 with C compiler
Path mapped to /opt/SUNWspro/bin using export
Stuck at ./configure
The last few lines of output message is as follows:
[quote]checking for a sed that does not truncate output… /usr/bin/sed
checking for non-GNU ld… no
configure: error: no acceptable ld found in $PATH
#[/quote]
My initial assumption was the PATH, but that was set already. (export PATH="/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/local/bin")
Are there other packages I need to install for Unix?
What is ld? I did a find command on “ld” but there are multiple ld listed. Can someone tell me if I need to map all the ld directories?
Or is this entirely different issue relating to missing package? Any help is appreciated, thanks! :?:
have a look around the forum there already were some errors on solaris. possibly you get the right idea from there… the solaris linker often gives “problems” compiling nagios stuff.
I am attempting to install Nagios-Plugins-1.4.6 on Solaris OS 10(sparc). I was able to resolve the previous issue by downloading libnet package and its dependent packages from sunfreeware.com.
The environment variables were set…
export PATH=/opt/SUNWspro/bin:/usr/bin:/usr/local:/usr/local/bin:/usr/ccs/bin:/usr/local/ssl/bin:/usr/ucb
exprot LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib
When i run make again to compile, there’s another problem.
[quote]gcc -m64 -g -O2 -m64 -o pst3 pst3-pst3.o -L/home/administrator/Nagios/nagios-plugins-1.4.14/plugins-root -L/usr/local/ssl/lib -lpthread -ldl
/usr/ccs/bin/ld: skipping incompatible /lib/sparcv9/libpthread.so when searching for -lpthread
/usr/ccs/bin/ld: skipping incompatible /usr/lib/sparcv9/libpthread.so when searching for -lpthread
…
…
collect2: ld returned 1 exit status
make[2]: *** [pst3] Error 1
make[2]: Leaving directory /home/administrator/Nagios/nagios-plugins-1.4.14/plugins-root' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/administrator/Nagios/nagios-plugins-1.4.14’
make: *** [all] Error 2[/quote]
I have searched online on this error but I can’t find anything. The obvious suspect is “sparcv9” directories, but i found so many of “sparcv9” folders using find command. I don’t think this is related to PATH env variable. I am new to Solaris Unix, can you help by showing where or what i should look for to correctly compile Nagios-plugins. Thanks!