Skip to content
This repository has been archived by the owner on Jun 13, 2019. It is now read-only.

Could not open library 'libarchive.so' #27

Open
sbutt opened this issue May 29, 2019 · 0 comments
Open

Could not open library 'libarchive.so' #27

sbutt opened this issue May 29, 2019 · 0 comments

Comments

@sbutt
Copy link

sbutt commented May 29, 2019

When trying to fire up this cookbook, along with the kafka one using a wrapper cookbook I'm getting the following error in chef kitchen...

         System Info:
          ------------
          chef_version=14.4.56
          platform=centos
          platform_version=7.5.1804
          ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
          program_name=/bin/chef-client
          executable=/opt/chef/bin/chef-client


          Running handlers:
       [2019-05-28T12:45:05+00:00] ERROR: Running exception handlers
       [2019-05-28T12:45:05+00:00] ERROR: Running exception handlers
             Running handlers complete
       [2019-05-28T12:45:05+00:00] ERROR: Exception handlers complete
       [2019-05-28T12:45:05+00:00] ERROR: Exception handlers complete
             Chef Client failed. 58 resources updated in 14 minutes 43 seconds
       [2019-05-28T12:45:05+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2019-05-28T12:45:05+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2019-05-28T12:45:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2019-05-28T12:45:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2019-05-28T12:45:05+00:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:
       * LoadError occurred in chef run: Could not open library 'archive': archive: cannot open shared object file: No such file or directory.
       Could not open library 'libarchive.so': /lib64/liblzma.so.5: version `XZ_5.2' not found (required by /opt/chef/embedded/lib/libarchive.so).
       Could not open library 'libarchive.so.2': libarchive.so.2: cannot open shared object file: No such file or directory

any ideas what might be causing that? I'll keep digging in the meantime.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant