Require Zlib1.dll version infromation

20 views
Skip to first unread message

Narayani M

unread,
Aug 10, 2021, 6:13:36 AMAug 10
to RubyInstaller
Hi everyone,
I installed the latest Ruby on Windows and see that the Zlib1.dll inside the bin folder does not have any version information. Can someone help me with the version of Zlib1.dll and also if there is a programmatic way to find the version of Zlib1.dll.

Thanks in advance.

Narayani

Lars Kanis

unread,
Aug 10, 2021, 7:57:31 AMAug 10
to RubyInstaller
You can either use this on the command line:
   ruby -rzlib -e "p Zlib::ZLIB_VERSION"

or search through the binary zlib1.dll for the string "Copyright" and you'll find a version like "1.2.11".


--
You received this message because you are subscribed to the Google Groups "RubyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyinstalle...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyinstaller/4643057f-1871-43e1-bfb4-63f932be6af0n%40googlegroups.com.

Narayani M

unread,
Aug 18, 2021, 5:40:55 AMAug 18
to RubyInstaller
Hi Lars,
ruby -rzlib -e "p Zlib::ZLIB_VERSION" doesn't give any result. Opening the dll mentions the version as 1.2.11.

Narayani M

unread,
Aug 19, 2021, 4:42:45 AMAug 19
to RubyInstaller
Hi Lars,
Are there any plans to have the version information for Zlib1.dll show up in the Properties window like the other similar dlls?

Thanks,
Narayani

Lars Kanis

unread,
Aug 19, 2021, 4:46:15 AMAug 19
to RubyInstaller
The files are provided by the MSYS2 project https://github.com/msys2/MINGW-packages/ and I don't know of any such plans by the MSYS2 team. And there are no such plans to add version information on our own within RubyInstaller.

Reply all
Reply to author
Forward
0 new messages