You might try looking at the nagios faq, if you haven't already, there is a faq entry F0012 that is similar. I also remember a real strange thing I had one time with library loading. It wasn't the LD_LIBRARY thing, it was something only Solaris needed. (And now I cannot remember where I found that tidbit.)
Doug -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of stan Sent: Thursday, July 24, 2008 3:07 PM To: Jose Luis Garcia Cc: nagios List Subject: Re: [Nagios-users] compile problems on Solairs 5 On Thu, Jul 24, 2008 at 07:03:07PM +0200, Jose Luis Garcia wrote: > This seems to be a library problem. > > The libraries where dirname and sprintf are suposed to be defined is not in > the lib path. > > Perhaps you gcc libs are not in the lib path (I don't remember the env var, > ?LD_LIBRARY_PATH?) > Hmm, AP0502# echo $LD_LIBRARY_PATH /opt/piapi/lib:/usr/openwin/lib:/usr/dt/lib:/opt/windu/lib:/opt/windu/fox:/opt/gms/lib:/usr/local/lib:/usr/local/ssl/lib AP0502# ls /usr/local/lib expect5.26 libnfsPlugin.so gcc-lib libnfsPlugin.so.1 libarpPlugin.a libnfsPlugin.so.1.0.0 libarpPlugin.so libntop-1.3.so.1 libarpPlugin.so.1 libntop-1.3.so.1.0.0 libarpPlugin.so.1.0.0 libntop.a libcrypto.a libntop.la libcrypto.so libntop.so libcrypto.so.0 libntopreport-1.3.so.1 libcrypto.so.0.9.6 libntopreport-1.3.so.1.0.0 libcurses.so libntopreport.a libexpect5.26.a libntopreport.la libform.a libntopreport.so ..... So, that would appear to indicate that the ggc-libs are in the approriate environment variable, right? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list [email protected] 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
