Centos7: “ldconfig : Aborted” error and how to deal with it

centos7 logo
On one of my recently installed servers I’ve got customer complain about ffmpeg missing some obscure shared libraries. I went to investigate and met some interesting case

However libwbclient was present on the system with all shared libraries in place. I tried to rebuild shared libraries cache with ldconfig and it didn’t work

Running it in vebose mode was not very helpful either

When I tried to delete /etc/ld.so.cache file it was not regenerated. In fact i end up with empty ld.so.cache all together without possibility to rebuild it. Not until I deleted /var/cache/ldconfig/aux-cache file. After that I could run ldconfig without errors and rebuild ld.so cache properly populating /etc/ld.so.cache and /var/cache/ldconfig/aux-cache too.

  1. Thank you very much!
    Worked in my Slackware64 14.2 box!

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">