Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev.icinga.com #13671] SLES 12 SP2 libboost_thread package requires libboost_chrono #4885

Closed
icinga-migration opened this issue Dec 19, 2016 · 8 comments
Labels
area/documentation End-user or developer help bug Something isn't working
Milestone

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/13671

Created by styk on 2016-12-19 10:35:37 +00:00

Assignee: jflach
Status: Resolved (closed on 2017-01-09 15:40:02 +00:00)
Target Version: 2.6.1
Last Update: 2017-01-12 14:16:44 +00:00 (in Redmine)

Icinga Version: 2.6.0-1
Backport?: Not yet backported
Include in Changelog: 1

Hello,

I'm unable to install icinga2 on a fresh installed SLES 12 SP2 system due to a missing dependency. I'm using the steps described in the "Getting Started" part of the documentation.

~# cat /etc/os-release
NAME="SLES"
VERSION="12-SP2"
VERSION_ID="12.2"
PRETTY_NAME="SUSE Linux Enterprise Server 12 SP2"
ID="sles"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:suse:sles:12:sp2"

# zypper ar http://packages.icinga.org/SUSE/ICINGA-release.repo
Adding repository 'ICINGA (stable release for SUSE 12.2)'
..............................................................................................................................................................................[done]
Repository 'ICINGA (stable release for SUSE 12.2)' successfully added
Enabled : Yes
Autorefresh : No
GPG Check : Yes
Priority : 99
URI : http://packages.icinga.org/SUSE/12.2/release/
:
# zypper ref
Repository 'SLES12-SP2-12.2-0' is up to date.
Retrieving repository 'ICINGA (stable release for SUSE 12.2)' metadata --------------------------------------------------------------------------------------------------------------------------------------------------------------------[\]
File 'repomd.xml' from repository 'ICINGA (stable release for SUSE 12.2)' is signed with an unknown key 'C6E319C334410682'. Continue? [yes/no] (no): yes
Retrieving repository 'ICINGA (stable release for SUSE 12.2)' metadata .................................................................................................................................................................[done]
Building repository 'ICINGA (stable release for SUSE 12.2)' cache ......................................................................................................................................................................[done]
All repositories have been refreshed.

~# zypper install icinga2
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: nothing provides libboost_chrono.so.1.54.0()(64bit) needed by icinga2-bin-2.6.0-1.x86_64
Solution 1: do not install icinga2-2.6.0-1.x86_64
Solution 2: break icinga2-bin-2.6.0-1.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] ©:

~ # zypper search libboost
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
-*-------------------------------+-------------------------------------------*-------

| libboost_atomic1_54_0 | Run-Time component of boost atomic library | package
| libboost_date_time1_54_0 | Boost::Date.Time Runtime libraries | package
| libboost_iostreams1_54_0 | Boost::IOStreams Runtime Libraries | package
| libboost_program_options1_54_0 | Boost::ProgramOptions Runtime libraries | package
| libboost_random1_54_0 | The Boost::Random runtime library | package
i | libboost_regex1_54_0 | The Boost::Regex runtime library | package
| libboost_signals1_54_0 | Boost::Signals Runtime Libraries | package
i | libboost_system1_54_0 | Boost::System Runtime Libraries | package
i | libboost_thread1_54_0 | Boost::Thread Runtime Libraries | package

Is there something wrong with the package?

Best regards,
Styk

Changesets

2017-01-09 15:37:59 +00:00 by jflach d2e2e61

Document SLES 12 installation requirement

fixes #13671
@icinga-migration
Copy link
Author

Updated by bsheqa on 2017-01-05 12:36:51 +00:00

+1
Same problem here with SLES12 SP1 and SP2

@icinga-migration
Copy link
Author

Updated by jflach on 2017-01-09 15:24:11 +00:00

  • Category changed from Installation to Documentation
  • Status changed from New to Assigned
  • Assigned to set to jflach

The required libboost_chrono package is available from the SLES 12 SDK. There is nothing we can do about this other than to document this annoyance.

@icinga-migration
Copy link
Author

Updated by jflach on 2017-01-09 15:40:02 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset d2e2e61.

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2017-01-12 14:15:07 +00:00

  • Target Version set to 2.6.1

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2017-01-12 14:16:44 +00:00

  • Subject changed from Icinga2 v2.6 auf SLES 12 SP2 to SLES 12 SP2 libboost_thread package requires libboost_chrono

@icinga-migration icinga-migration added bug Something isn't working area/documentation End-user or developer help labels Jan 17, 2017
@icinga-migration icinga-migration added this to the 2.6.1 milestone Jan 17, 2017
@radioactive9
Copy link

Sorry what is the solution to this. I do not have access to SDK. I could not find the dependency or rpm anywhere online :(

@dgoetz
Copy link
Contributor

dgoetz commented Aug 9, 2019

Asking the question in https://community.icinga.com would be better than in two year old issue. Access to SDK should not be limited further than to the normal repositories, so you should have access.

@radioactive9
Copy link

fixed using https://software.opensuse.org/ymp/server:monitoring/SLE_12_SP2/icinga2.ymp
Thanks and sorry for opening old thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation End-user or developer help bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants