When I upgrade my Jetson AGX, I get a couple of warnings (first two lines below).
The files are soft links and they do exist. The system works as expected so I’m not too worried, although my application which makes use of the tegra V4L2 library doesn’t dynamically link properly. I have to use LD_LIBRARY_PATH so it gets the correct library. So I’m thinking that those soft links may not work at all. The ldd tool may ignore them for security reasons?
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_EGL.conf: No such file or directory
/sbin/ldconfig.real: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf.d/aarch64-linux-gnu_GL.conf: No such file or directory
$ ls /etc/ld.so.conf.d/
aarch64-linux-gnu.conf aarch64-linux-gnu_GL.conf fakechroot-aarch64-linux-gnu.conf libc.conf
aarch64-linux-gnu_EGL.conf cuda-10-2.conf fakeroot-aarch64-linux-gnu.conf nvidia-tegra.conf
$ ls -l /etc/ld.so.conf.d/
total 24
-rw-r--r-- 1 root root 103 Apr 16 2018 aarch64-linux-gnu.conf
lrwxrwxrwx 1 root root 44 Jan 28 2018 aarch64-linux-gnu_EGL.conf -> /etc/alternatives/aarch64-linux-gnu_egl_conf
lrwxrwxrwx 1 root root 43 Jan 28 2018 aarch64-linux-gnu_GL.conf -> /etc/alternatives/aarch64-linux-gnu_gl_conf
-rw-r--r-- 1 root root 47 Oct 29 2019 cuda-10-2.conf
-rw-r--r-- 1 root root 38 Nov 29 2016 fakechroot-aarch64-linux-gnu.conf
-rw-r--r-- 1 root root 39 Jan 8 2018 fakeroot-aarch64-linux-gnu.conf
-rw-r--r-- 1 root root 44 Jan 27 2016 libc.conf
-rw-r--r-- 1 root root 33 Jan 28 2018 nvidia-tegra.conf
$ ls -l /etc/alternatives/aarch64-linux-gnu_egl_conf
lrwxrwxrwx 1 root root 47 Jan 28 2018 /etc/alternatives/aarch64-linux-gnu_egl_conf -> /usr/lib/aarch64-linux-gnu/tegra-egl/ld.so.conf
$ ls -l /usr/lib/aarch64-linux-gnu/tegra-egl/ld.so.conf
-rw-r--r-- 1 root root 37 Nov 14 18:25 /usr/lib/aarch64-linux-gnu/tegra-egl/ld.so.conf
$ cat /usr/lib/aarch64-linux-gnu/tegra-egl/ld.so.conf
/usr/lib/aarch64-linux-gnu/tegra-egl
$ ls -l /etc/alternatives/aarch64-linux-gnu_gl_conf
lrwxrwxrwx 1 root root 43 Jan 28 2018 /etc/alternatives/aarch64-linux-gnu_gl_conf -> /usr/lib/aarch64-linux-gnu/tegra/ld.so.conf
$ ls -l /usr/lib/aarch64-linux-gnu/tegra/ld.so.conf
-rw-r--r-- 1 root root 33 Jan 28 2018 /usr/lib/aarch64-linux-gnu/tegra/ld.so.conf
$ cat /usr/lib/aarch64-linux-gnu/tegra/ld.so.conf
/usr/lib/aarch64-linux-gnu/tegra