This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ldd fails when dll has no execute permissions


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]