尽管已安装软件包,但在stdc ++上安装gep install qpid_messaging失败

时间:2014-03-31 13:21:35

标签: rubygems qpid

尝试使用以下命令安装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)才能使其正常工作?

1 个答案:

答案 0 :(得分:0)

有一个错误:

https://issues.apache.org/jira/browse/QPID-4933

固定在0.24