【问题标题】:Gem install qpid_messaging fails on stdc++ despite having package installed尽管安装了软件包,但在 stdc++ 上 Gem 安装 qpid_messaging 失败
【发布时间】:2014-05-10 20:33:30
【问题描述】:

尝试使用以下命令安装 qpid 消息传递 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 install 指向某个模块或标头 (.so/.h) 才能使其正常工作?

【问题讨论】:

    标签: rubygems qpid


    【解决方案1】:

    这里有一个错误:

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

    在 0.24 中修复

    【讨论】:

      猜你喜欢
      • 2015-12-28
      • 2020-10-24
      • 1970-01-01
      • 2019-11-09
      • 2014-04-27
      • 1970-01-01
      • 2014-09-21
      • 2019-02-12
      • 1970-01-01
      相关资源
      最近更新 更多