Msvcrt ruby dll not found n msvcrt dll

System Requirements: Windows XP, Windows 7, Windows 10


Skip to content Watch 111 Star 1,018 Fork 281 Code Issues 22 Pull requests 4 Wiki Pulse Graphs New issue Closed lionelperrin opened this Issue Feb 18, 2014 · 7 comments None yet No milestone No one assigned lionelperrin commented Feb 18, 2014 Hello, I tried to run ruby 64bits on a windows 2003 server. I tried the following links: and In both cases, ruby fail to start with the following error message: The procedure entry point _gmtime64_s could not be located in the dynamic link library msvcrt.dll. Actually, the msvcrt.dll on windows 2003 does not define this external symbol ( There is no symbol xxxx_s in this version of the dll.) As the ruby executable is built with mingw32, (and not visual studio it looks that we can't solve this issue with the install of a Visual C+ Redistributable Package. Is there any workaround? Is there a limitation on using ruby-x64? Is it necessary to link with msvcrt.dll. For info, ruby 32 bit works with this windows version. Regards, Lionel One- Click Project member luislavena commented Feb 18, 2014 @lionelperrin 64bits Ruby might have other issues beyond the one you report. The specifics are tied to mingw-w64 compiler used, and most likely will be solved in newer versions. If you're starting, then perhaps it will be better to use 32bits version of Ruby instead, as lot of gems are still not compatible with the changes in the 64bits version ( Bundler, Event Machine, mysql/mysql2, etc) There is no real justification for using 64bits Ruby unless you're doing a lot of memory intensive operations (more than 2 GB) on which case perhaps Ruby is not the best language for the task Other than that, I cannot give you a better solution than building Ruby yourself with a different version of the.
I had the same problem with XP Pro and the Rails tutorial. I had SQLite version installed, which matched what it says in Chapter 2 of the tutorial. But when I saw roger's comment about using version, I installed that version (using gem install sqlite3-ruby -v ). But it gave a message about using SQLite version with this gem, along with the relevant website. So I downloaded it and replaced the sqlite3.exe.dll and.def files in the C:\ Ruby192\bin directory. Then I looked in the gemfile and saw that the SQLite version was (as per the tutorial). So I changed it to, deleted gemfile.lock, ran bundle install again, and after that rake db:migrate worked.
An error occurred Please try your request again later Try searching for what you need This page doesn’t exist. Cookies are disabled Please enable cookies and refresh the page.


Other articles: