Web lists-archives.com

Re: MinTTY requires gdiplus.dll ?




On 2018-11-30 01:33, Houder wrote:
> On 2018-11-30 09:08, Michael Wild wrote:
>> As most things important on Windows, it is here:
>> "C:\Windows\System32\GdiPlus.dll"
> Yes, I am aware that the location (c:/Windows/system32) is "packed"
> with all sorts of "shiny" DLL's ...
> I have only a vague idea how Microsoft "solved" the DLL hell (it is
> even possible that several solutions exist -- it is Microsoft).
> What I mean, uptill now, I did not even know if an "GdiPlus.dll" was
> mandatory in c:/Windows/system32, because there is a version of this
> file in the "SxS" location.
> One of my previous posts shows the output of strace (trying to start
> MinTTY from a "Dos box" ...)
> Although comctl32.dll is present in c:/Windows/system32, the file in
> the "SxS" location is "loaded", not the file available in the former.
> So, to me, any option was open.
> Now I know, there should be an "GdiPlus.dll" in "system32".
> Alas, I have no idea how to recover it (and neither does Microsoft).

You should have a selection of alternatives available under:

$ (cd /proc/cygdrive/c/WINDOWS/WinSxS/; l *gdiplus*/gdiplus.dll)
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_cc5b22dc5f37e9e8/gdiplus.dll*
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_c89d87f44c0d5613/gdiplus.dll*
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_c859a78e4c40b1b4/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.1_none_755093628aec1b7c/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.228_none_3cdf1d99f1ef51bb/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.285_none_3cdc1be3f1f2079c/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.286_none_3cdd1c2df1f120f3/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.345_none_3cdc1e59f1f2037f/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.407_none_3cde2163f1f03210/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.1_none_64a2024723f1f523/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.228_none_2c308c7e8af52b62/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.285_none_2c2d8ac88af7e143/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.286_none_2c2e8b128af6fa9a/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.345_none_2c2d8d3e8af7dd26/gdiplus.dll*
amd64_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.407_none_2c2f90488af60bb7/gdiplus.dll*
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_d6afcd2e9398abe3/gdiplus.dll*
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_d2f23246806e180e/gdiplus.dll*
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_d2ae51e080a173af/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.1_none_bcfdca399f684482/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.228_none_848c5471066b7ac1/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.285_none_848952bb066e30a2/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.286_none_848a5305066d49f9/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.345_none_84895531066e2c85/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.17134.407_none_848b583b066c5b16/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.1_none_ac4f391e386e1e29/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.228_none_73ddc3559f715468/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.285_none_73dac19f9f740a49/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.286_none_73dbc1e99f7323a0/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.345_none_73dac4159f74062c/gdiplus.dll*
x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.17134.407_none_73dcc71f9f7234bd/gdiplus.dll*

In my case, the latest entry with systemcopy matches that in System32:

$ (cd /proc/cygdrive/c/WINDOWS/WinSxS/; ls -lrt *gdiplus*systemcopy*/gdiplus.dll)
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Apr 11  2018
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_cc5b22dc5f37e9e8/gdiplus.dll
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1469952
Apr 11  2018
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.1_none_d6afcd2e9398abe3/gdiplus.dll
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1469952
Aug  3 01:27
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_d2f23246806e180e/gdiplus.dll
-rwxr-x---+ 1 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Aug  3 02:19
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.228_none_c89d87f44c0d5613/gdiplus.dll
-rwxr-x---+ 2 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1469952
Aug 31 00:36
wow64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_d2ae51e080a173af/gdiplus.dll
-rwxr-x---+ 2 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Aug 31 01:22
amd64_microsoft.windows.gdiplus.systemcopy_31bf3856ad364e35_10.0.17134.285_none_c859a78e4c40b1b4/gdiplus.dll

$ (cd /proc/cygdrive/c/Windows/System32/; ls -lrt *gdiplus.dll)
-rwxr-x---+ 2 NT SERVICE+TrustedInstaller NT SERVICE+TrustedInstaller 1661440
Aug 31 01:22 GdiPlus.dll

So you may want to try listing the former and copying to the latter.

Hope that fixes things for you.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.

--
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