Missing tegra-egl/libEGL.so.1

When attempting to fix the libEGL.so simlink issue where it links to mesa-egl/libEGL.so.1 instead of tegra-egl/libEGL.so.1, (as in https://devtalk.nvidia.com/default/topic/810657/-solved-jetson-tk1-libegl-warning-can-not-find-libopenvg/?offset=3) I accidentally got the paths backwards and overwrote the tegra-egl version with a symbolic link. As reinstalling the package with apt-get only changes the mesa-egl version (and isn’t the right implementation anyway), is there any way to reinstall the tegra-egl version of this library (or even just get that one file)?

If you download the driver package to your PC host it creates directory “Linux_for_Tegra/nv_tegra/”. Within that is file “nvidia_drivers.tbz2”. You can extract just the one file and copy it over to the Jetson, or you can just place the whole “nvidia_drivers.tbz2” in the “/” directory of the Jetson and unpack it:

# On the Jetson...assumes nvidia_drivers.tbz2 is there...
cd /
sudo tar xvfj ./nvidia_drivers.tbz2

Perhaps verify both before and after with this (if the file shows as correct before then there is no need to do this…if the file was incorrect before unpacking then it should be correct once again after unpacking):

sha1sum -c /etc/nv_tegra_release

Awesome, thanks! I was worried I’d broken it completely.