Boost-Libboost is needed in Centos7 (ContexBroker)

旧时模样 提交于 2019-11-29 08:33:58

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

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

And then is possible to install ContextBroker:

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

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

Echancrure

here is what I did on centos 6.5 x64

get the rpm package

 wget --no-check-certificate https://forge.fi-ware.org/frs/download.php/1502/contextBroker-0.15.0-1.x86_64.rpm

then because of the dependencies required (listed in https://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/Publish/Subscribe_Broker_-_Orion_Context_Broker_-_Installation_and_Administration_Guide#Requirements ) we need to install EPEL (see http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F ) by running

yum install epel-release

then install each dependency:

yum install boost-filesystem
yum install boost-thread
yum install libmicrohttpd
yum install logrotate

then

rpm -i contextBroker-0.15.0-1.x86_64.rpm

it worked for me. Hope this help

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!