…mysql2/mysql2.so: [BUG] Segmentation fault ruby 2.0.0p247
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm using windows7x64, ruby2.0.0p247, rails4.0.0 and mysql5.5.27. When I run the $ rails server command, I got the following error. C : /Ruby200-x64/ lib / ruby / gems / 2.0 . 0 / gems / mysql2 - 0.3 . 13 / lib / mysql2 / mysql2 . so : [ BUG ] Segmentation fault ruby 2.0 . 0p247 ( 2013 - 06 - 27 ) [ x64 - mingw32 ] How can I get rid of this error? 回答1: The libmysql.lib included in the MySQL Connector/C 64 bit is not compatible with the mingw64-gcc compiler. You need to generate mingw64 compatible libmysql.lib file. To generate