Ldconfig -v output errors

When building a docker container based on Fedora 34 I got these errors:

[root@host ld.so.conf.d]# ldconfig -v
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: Path `/usr/lib' given more than once
ldconfig: Path `/usr/lib64' given more than once
ldconfig: Can't stat /usr/libx32: No such file or directory

These errors seem to be very well known to Redhat. See here:

Is there a solution for Fedora?

Thank you.

Ivan

If you do a grep -r libx32 /etc/ld.so.conf.d, in which file is that directory referenced? Which package does it belong to (rpm -qf <the_file>)?

Then do the same thing for the other directory (with a line ending requirement to avoid lib64 being and internal part of the path: grep -r lib64\$ /etc/ld.so.conf.d).