升压Libboost需要在Centos7(ContexBroker) [英] Boost-Libboost is needed in Centos7 (ContexBroker)

查看:1088
本文介绍了升压Libboost需要在Centos7(ContexBroker)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Centos7安装ContextBroker:

I am trying to install ContextBroker in Centos7:

sudo rpm -i contextBroker-0.14.1-1.X86_64.rpm

但我得到下一个错误:

But I am getting the next error:

error: Failed dependencies:

libboost_filesystem-mt.so.5()(64bit) is needed by contextBroker-0.14.1-1.x86_64

libboost_system-mt.so.5()(64bit) is needed by contextBroker-0.14.1-1.x86_64

libboost_thread.so.5()(64bit) is needed by contextBroker-0.14.1-1.x86_64

到现在为止我认为解决方案是明确的,可以让安装:

Up to this point I thought that the solution was clear, lets install:

sudo yum install boost boost-devel boost-doc 

但它不能正常工作,Centos7是给我同样的错误。

But it was not functioning and Centos7 was giving me the same error.

然后我虽然也许是因为需要静态版本的错误就是libboost而不是直接提升(我不知道这是一个很好的假设)有关,但我想,它是不能正常工作,Centos7是给我同样的错误。

Then I though that maybe it was because the static versión was needed as the error is related to libboost and not directly boost ( I do not know if this was a good assumption),but I tried and it was not functioning and Centos7 was giving me the same error.

的事情是,我能够找到这些文件,但我不知道怎么给依赖关系转和的情况下,是不可能的我试图安装以下软件包:

The thing is that I am able to find those files, but I dont know how to give dependencies to rpm and in case is not possible I tried to install the following packages:

sudo rpm -i boost-1.53.0-18.el7.x86_64.rpm

然而,为了能够安装以下两个包,我不得不使用yum,因为当我试图安装包助推devel.1.53.0-18.el7.x86_64.rpm我失踪安装升压DEVEL很大的依赖性。

However to be able to install the following two packages, I had to install boost-devel using yum, because when I tried to install the package boost-devel.1.53.0-18.el7.x86_64.rpm I was missing a lot of dependencies.

sudo rpm -i boost-static-1.53.0-18.el7.i686.rpm 

(编辑。扩展.i686是32位的,所以并不需要这个包。)

sudo rpm -i boost-static-1.53.0-18.el7.x86_64.rpm

的结果是一样的..所以我有两个问题:

The result was the same.. so I have two questions:

1.可有人告诉我的名字,或递给我,我很想念升压转的链接,未让我直接从RPM安装升压DEVEL。

1.Can someone tell me the name or pass me the link of the boost rpm that I am missing and that is not allowing me to install directly boost-devel from the rpm.

2.Which一个是正确的顺序安装所有的提振rpm包在Centos7?

2.Which one is the correct order to install all the boost rpm packages in Centos7?

谢谢!

编辑:
我发现,在我的系统中的文件的扩展名结尾与.so.1.53.0,并且该转速是要求一端与.so.5()(64位)的依赖关系。它可以是转速正在寻找依赖特定版本的?

I found that the extension of the files that are in my system end with .so.1.53.0, and the dependencies that the rpm is asking for end with .so.5()(64bit). Can it be that the rpm is looking for a specific version of the dependencies?

推荐答案

最后,我已经能够依赖关系来解决问题。

Finally I have been able to resolve the problem with the dependencies.

ContextBroker取决于升压为CentOS 6的老包,这样一来就能安装ContextBroker在Centos7你必须从系统中删除增压的最新版本(对我来说这个解决方案是不是一个问题,因为在我情况下,我使用的是虚拟机只是为了能够只使用contextBroker但是这可能与)其它软件包的依赖正在使用升压为Centos7相应版本的一个现实问题:

ContextBroker is depending on the old packages of boost for Centos 6, so to be able to install ContextBroker in Centos7 you have to remove the newest versions of boost from the system (to me this solution was not a problem, because in my case I am using a VM just to be able to exclusively use contextBroker but this can be a real problem with the dependencies of other packages that are using the corresponding version of boost for Centos7):

sudo yum remove boost boost-devel boost-system boost-filesystem boost-thread

后来需要它的老包的下载和安装:

Later it is needed the downloading and installation of the old packages:

sudo rpm -Uvh boost-thread-1.41.0-25.el6.x86_64.rpm
sudo rpm -Uvh boost-system-1.41.0-25.el6.x86_64.rpm
sudo rpm -Uvh boost-filesystem-1.41.0-25.el6.x86_64.rpm

和然后可以安装ContextBroker:

And then is possible to install ContextBroker:

sudo rpm -i context-0.15.0-1.x86_64.rpm

我希望这有助于为新contextBroker的用户!

I hope this helps to the new contextBroker's users!

这篇关于升压Libboost需要在Centos7(ContexBroker)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆