尝试使用以下命令安装qpid messaging gem(在Fedora 19中):
$ gem install qpid_messaging -v '0.20.2'
以下消息失败:
Building native extensions. This could take a while...
ERROR: Error installing qpid_messaging:
ERROR: Failed to build gem native extension.
/path/to/.rvm/rubies/ruby-1.9.3-p545/bin/ruby extconf.rb
checking for main() in -lstdc++... no
checking for main() in -lstdc++... no
Missing required library: stdc++
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
我的机器上安装了libstdc ++软件包。我是否需要将gem安装指向某个模块或标题(.so / .h)才能使其正常工作?