/sbin/ldconfig.real: cannot stat / lib / x86_64-linux-gnu

When I run ldconfig in my Ubuntu field, I get a warning:

/sbin/ldconfig.real: cannot stat / lib / x86_64-linux-gnu

This does not cause any problems, but AFAIK, but I want to “fix” it if he comes back again to bite me later. Does anyone know why I get this message - and how to fix it?

+3
source share
1 answer

I had the same problem and I believe that this is intended to be placed in a directory for Multiarch support. See File /etc/ld.so.conf.d/x86_64-linux-gnu.conf.

The way I received the error message was to create a directory since it was not on my machine. I ran this as root:

mkdir /lib/x86_64-linux-gnu
0
source

Source: https://habr.com/ru/post/1790635/


All Articles