3
votes

When I run ldconfig on my Ubuntu box, I get the warning:

/sbin/ldconfig.real: Can't stat /lib/x86_64-linux-gnu

This is not causing any problems yet AFAIK, but I want to 'fix' it, incase it comes back to bite me later on. Does anyone know why I am getting this message - and how do I fix it?

1

1 Answers

0
votes

I had the same issue, and I believe this is intended to be a directory location for Multiarch support. See file /etc/ld.so.conf.d/x86_64-linux-gnu.conf.

The way I got the error to go away was to create the directory, as it did not exist in my machine. I ran this as root:

mkdir /lib/x86_64-linux-gnu