no message or dialog when a DLL is missing

Shankar Unni shankarunni@netscape.net
Mon Aug 28 21:00:00 GMT 2006


Pierre Baillargeon wrote:
> Thanks for the information. I will not submit a patch because I suspect 
> the current behavior is prefered by the majority: having a dialog pop-up 
>  in the middle of scripts is much more catastrophic is most case than 
> having a return code, for unattended processing. So I expect the patch 
> to be badly received by end users.

Perhaps the right thing would be for "somebody" to emit an error (read on).

On Linux, etc., when a shared library is missing at runtime, any attempt 
to execute a binary depending on it will get an error like:

% /usr/bin/xvidtime
/usr/bin/xvidtune: error while loading shared libraries: libXdmcp.so.6: 
cannot open shared object file: No such file or directory

I'm pretty this message is coming directly from (in this case) 
ld-linux.so (the "DLL loader" on linux).

If Cygwin is intercepting the equivalent exception on Windows, perhaps a 
possible compromise would be for cygwin1.dll to emit such an error to 
stderr?


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



More information about the Cygwin mailing list