當我遇到Windows無法找到「msvcr90.dll」的錯誤時,我試圖在Windows/XP上運行Ruby Thin演示應用程序0.7 - 我發現了一個可再發行也放到了我的路徑與該信息必須面對:Ruby無法與MS C運行時鏈接(msvcr90.dll)
"R6034 ... application has made an attempt to lead the C runtime incorrectly"
今天早些時候,我跑了幾個EventMachine的演示好了,所以我想這個問題是用薄。
Ruby堆棧轉儲沒有那麼有用......(包含在下面)。有治癒嗎?
我看過其他MSVCR90.DLL帖子,這些治療都沒有工作。 MSVCR90.DLL現在在system32中 - 「錯誤鏈接」錯誤。
在此先感謝。
... ...將
------
W:\> ruby adapter.rb
>> Thin web server (v1.2.2 codename I Find Your Lack of Sauce Disturbing)
>> Maximum connections set to 1024
>> Listening on 127.0.0.1:3000, CTRL+C to stop
c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin_parser.so: 1114: A dynamic link library (DLL) initialization routine failed.
- c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin_parser.so (LoadError)
from c:/bin/ruby/v1.8/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/request.rb:1
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/connection.rb:35:in `post_init'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/eventmachine-0.12.8-x86-mswin32-60/lib/em/connection.rb:43:in `new'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/eventmachine-0.12.8-x86-mswin32-60/lib/em/connection.rb:36:in `instance_eval'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/eventmachine-0.12.8-x86-mswin32-60/lib/em/connection.rb:36:in `new'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/eventmachine-0.12.8-x86-mswin32-60/lib/eventmachine.rb:1490:in `event_callback'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/eventmachine-0.12.8-x86-mswin32-60/lib/eventmachine.rb:242:in `run_machine'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/eventmachine-0.12.8-x86-mswin32-60/lib/eventmachine.rb:242:in `run'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/backends/base.rb:57:in `start'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/server.rb:156:in `start!'
from c:/bin/ruby/v1.8/lib/ruby/gems/1.8/gems/thin-1.2.2/lib/thin/server.rb:142:in `start'
from adapter.rb:21
嗨那裏... thaks我想到了關於/ MD之前。你可以擴展什麼是xfree?這裏的目標是Windows/XP,我打開的唯一「xfree」是x-windows pac。 請參閱:薄RUBY線程 http://groups.google.com/group/thin-ruby/browse_thread/thread/c15b2472eb97c2ba/b2497f846f1190a8?lnk=gst&q=link#b2497f846f1190a8 當我失去抓地力,因爲最終的答案是明戈。 不用擔心。 有一些有用的評論。我發現config.h和rbconfig.rb是解決這個問題的關鍵。隨着今天的構建。 離開那裏,讓紅寶石編譯器免費! \ _w_/ – will 2009-08-06 12:44:37