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: Building Initramfs Dracut Shows Error Message "ldconfig exited ungracefully"

edited Sep 6, 2023 7:13AM in Linux

Applies to

Oracle Cloud Infrastructure - Version N/A and later

Linu OS  - Version Oracle Linux  7.0 and later

Linux x86- 64


Symptoms

While booting, the messages described in the following document is shown:

https://community.oracle.com/customerconnect/discussion/709137/oci-dhcp-fail-after-reboot-with-error-libdns-export-so-1102-cannot-open-shared-object-file

 However, /etc/ld.so.conf.d/bind-export-x86_64.conf is intact and the action plan does not resolve the problem.


Cause

 While rebuilding the initramfs, the following errors are shown, though dracut continues building

ldconfig: /etc/ld.so.conf.d/kernel-4.14.35-2047.508.3.2.el7uek.x86_64.conf:6: hwcap index 1 already defined as nosegneg ldconfig exited ungracefully

 These lines leads dracut to not include

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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