The procedure entry point _gmtime64_s could not be located in the dynamic link library msvcrt.dll

1,675 views
Skip to first unread message

NISHANT ANAND

unread,
Mar 29, 2015, 10:01:43 AM3/29/15
to rubyin...@googlegroups.com
I have a Windows XP 32 bit system with Celeron M processor. I've tried to install both Ruby 2.1.5-p273, and Ruby 3.1.0. The DevKit I'm using is DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe

In both cases of ruby, when I click START COMMAND PROMPT WITH RUBY, I get the message "The procedure entry point _gmtime64_s could not be located in the dynamic link library msvcrt.dll".

I need ruby to work on rails.

How can I solve it??

Justin Baker

unread,
Apr 13, 2015, 11:05:33 PM4/13/15
to rubyin...@googlegroups.com
Hey sorry for the really late response. See inline responses below.

On Sunday, March 29, 2015 at 9:01:43 AM UTC-5, NISHANT ANAND wrote:
I have a Windows XP 32 bit system with Celeron M processor. I've tried to install both Ruby 2.1.5-p273, and Ruby 3.1.0. The DevKit I'm using is DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe

In both cases of ruby, when I click START COMMAND PROMPT WITH RUBY, I get the message "The procedure entry point _gmtime64_s could not be located in the dynamic link library msvcrt.dll".
 
The problem is actually a problem with targeting Windows XP systems, building with a current Microsoft OS links differently than an XP System.
Which means that the builds are incompatible. The same thing happens on Windows Server 2003.
 
I need ruby to work on rails.

How can I solve it??

The only real solution is to upgrade to a current version of Windows.
Other than that there really isn't a solution, for more information on the error check out the Guthub issue #239
You can try compiling it on your own but you're on your own for support.


Justin
Reply all
Reply to author
Forward
0 new messages