You're not seeing the error because you didn't run the command as:
# ldconfig -v
I just ran it and the error is back again since there has been a recent update to libc6:
demon@UbuntuHP:/etc/ld.so.conf.d$ sudo ldconfig -v
/sbin/ldconfig.real: Path `/lib/x86_64-linux-gnu' given more than once
/sbin/ldconfig.real: Path `/usr/lib/x86_64-linux-gnu' given more than once
[..]
After deleting/renaming the afflicted file(s): /etc/ld.so.conf.d/x86_64-linux-gnu.conf
The error disappears, and the directory is still indexed as normal that is in that .conf
Only files and any mention of such paths are as follows in /etc/ld.so.conf.d:
10-amdgpu- pro.conf: /opt/amdgpu- pro/lib/ x86_64- linux-gnu
20-amdgpu. conf:/opt/ amdgpu/ lib/x86_ 64-linux- gnu
fakeroot- x86_64- linux-gnu. conf:/usr/ lib/x86_ 64-linux- gnu/libfakeroot
x86_64- linux-gnu. conf:/lib/ x86_64- linux-gnu |
| < Error occurs cause of this file linux-gnu. conf:/usr/ lib/x86_ 64-linux- gnu |
x86_64-
x86_64- linux-gnu_ EGL.conf: /usr/lib/ x86_64- linux-gnu/ mesa-egl
x86_64- linux-gnu_ GL.conf: /usr/lib/ x86_64- linux-gnu/ mesa
You're not seeing the error because you didn't run the command as:
# ldconfig -v
I just ran it and the error is back again since there has been a recent update to libc6:
demon@UbuntuHP: /etc/ld. so.conf. d$ sudo ldconfig -v real: Path `/lib/x86_ 64-linux- gnu' given more than once real: Path `/usr/lib/ x86_64- linux-gnu' given more than once
/sbin/ldconfig.
/sbin/ldconfig.
[..]
After deleting/renaming the afflicted file(s): /etc/ld. so.conf. d/x86_64- linux-gnu. conf
The error disappears, and the directory is still indexed as normal that is in that .conf