ldd fails when dll has no execute permissions

cppjavaperl cppjavaperl@yahoo.com
Thu Feb 23 23:03:00 GMT 2012


This was discovered in cygwin-1.7.10-1.

If you run 'ldd' against an executable, and the executable has dependent DLLs which do *not* have execute permissions, ldd's output stops when it reaches the offending dependent DLL, and reports no further information.  ldd does not give an error message, and the exit code is zero.

To test, pick an application with a dependent DLL, then chmod 666 on that DLL (pick a DLL you can live without temporarily, of course), then run 'ldd' against the executable.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list