Haha. Is that this check_users script? <a href="http://john.wesorick.com/2011/03/nagios-check-checkusers-windows.html">http://john.wesorick.com/2011/03/nagios-check-checkusers-windows.html</a><br><br><div class="gmail_quote">

On Thu, May 3, 2012 at 12:23 PM, L. V. Lammert <span dir="ltr"><<a href="mailto:lvl@omnitec.net" target="_blank">lvl@omnitec.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Trying to figure out Nagios plugins under cygwin, .. running the plugin in<br>
the build directory is successful, however outside the build directory is<br>
is not.<br>
<br>
ldd in the build directory:<br>
<br>
$ ldd ./check_users.exe<br>
        ntdll.dll => /cygdrive/c/Windows/system32/ntdll.dll (0x77710000)<br>
        kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll<br>
(0x759b0000)<br>
        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)<br>
<br>
Matches the shared object requirements in another directory:<br>
<br>
$ ldd ./check_users.exe<br>
        ntdll.dll => /cygdrive/c/Windows/system32/ntdll.dll (0x77710000)<br>
        kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll<br>
(0x759b0000)<br>
        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)<br>
<br>
However, it DNW unless it is in the build directory. Can anyone point me<br>
in a direction to resolve the issue?<br>
<br>
        Thanks!<br>
<br>
        Lee<br>
_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
</blockquote></div><br>