You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: Kspice command fail with error "ImportError:/lib64/libboost_regex-mt.so.1.53.0: file too short"

edited Mar 8, 2023 1:46PM in Linux

APPLIES TO: 

Oracle Cloud Infrastructure

Linux OS - Version Oracle Linux 7.0 and later


SYMPTOMS

Running Ksplice commands fail with the following error.

$ ksplice
Traceback (most recent call last):
File "/usr/bin/ksplice", line 14, in <module>
from ksplicelib.utils import (
File "/tmp/tmp.m0aBJauWyV/BUILD/ksplice-1.0.59/BUILD/python/ksplicelib/utils.py", line 19, in 
<module>
ImportError: /lib64/libboost_regex-mt.so.1.53.0: file too short


CAUSE 

The package boost-regex was corrupted. And the the library /lib64/libboost_regex-mt.so.1.53.0 is provided by the package boost-regex.

$ rpm -qf /lib64/libboost_regex-mt.so.1.53.0
 boost-regex-1.53.0-28.el7.x86_64


SOLUTION

Remove and Reinstall  boost-regex and ksplice-tools packages

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!