[GRLUG] Any Cygwin folks around?

L. V. Lammert lvl at omnitec.net
Thu May 3 12:23:44 EDT 2012


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


More information about the grlug mailing list