Compile issue on Solaris 10 - insecure interpreter ELF


We have Solaris Environment here at work…

Installing Nagios 3.02in s sparse root zone.
ap2# echo $PATH
ap2# uname -a
SunOS sm1ap2 5.10 Generic_127127-11 sun4v sparc SUNW,Sun-Fire-T200

3.02 compiles and builds on the T200 but it produces a bad binary…
I have narrowed it down to this
ap2# ldd /opt/nagios/bin/nagios
ldd: /opt/nagios/bin/nagios: file has insecure interpreter ELF
I have a good binary (compiled on another system)
so I now know what I am missing…
sm1ap2# ldd nagios/bin/nagios => /lib/ => /lib/ => /lib/ => /lib/ => /usr/lib/ => /lib/ => /lib/ => /lib/
SunFreeWare packages
– binutils-2.17
– gd-2.0.35
– libiconv-1.9.2
– freetype-2.3.1
– make-3.81
– libtool-1.5.24
– libintl (3.4.0)
– gcc-3.4.6

Much Thx


The issue is with the make install command it strips too much information from the compiled binaries…

Running ldd on the compiled nagios binary does work…

I added coreutils packaged to replace the default install but still no joy…