[GRLUG] Any Cygwin folks around?

L. V. Lammert lvl at omnitec.net
Thu May 3 12:38:55 EDT 2012


At 11:30 AM 5/3/2012, you wrote:
>Haha. Is that this check_users script? 
><http://john.wesorick.com/2011/03/nagios-check-checkusers-windows.html>http://john.wesorick.com/2011/03/nagios-check-checkusers-windows.html

The one I was testing is plugins 1.4.15, .. but the issue is there 
for others also. Why would the executable fail outside the build 
directory when ldd shows exactly the same dependencies with absolute paths?

         Lee

>On Thu, May 3, 2012 at 12:23 PM, L. V. Lammert 
><<mailto:lvl at omnitec.net>lvl at omnitec.net> wrote:
>Trying to figure out Nagios plugins under cygwin, .. running the plugin in
>the build directory is successful, however outside the build directory is
>is not.
>
>ldd in the build directory:
>
>$ ldd ./check_users.exe
>        ntdll.dll => /cygdrive/c/Windows/system32/ntdll.dll (0x77710000)
>        kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll
>(0x759b0000)
>        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
>
>Matches the shared object requirements in another directory:
>
>$ ldd ./check_users.exe
>        ntdll.dll => /cygdrive/c/Windows/system32/ntdll.dll (0x77710000)
>        kernel32.dll => /cygdrive/c/Windows/system32/kernel32.dll
>(0x759b0000)
>        cygwin1.dll => /usr/bin/cygwin1.dll (0x61000000)
>
>However, it DNW unless it is in the build directory. Can anyone point me
>in a direction to resolve the issue?
>
>        Thanks!
>
>        Lee
>_______________________________________________
>grlug mailing list
><mailto:grlug at grlug.org>grlug at grlug.org
>http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
>
>_______________________________________________
>grlug mailing list
>grlug at grlug.org
>http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug



More information about the grlug mailing list