libEGL_nvidia.so.0: cannot open on Nvidia Jetson Xavier NX 16 gb

While running vpi code we are getting this error:

import vpi
ImportError: libEGL_nvidia.so.0: cannot open shared object file: No such file or directory

  1. though we have already set the pathlibEGL_nvidia.so.0 by following command
    “export LD_LIBRARY_PATH: /usr/lib/aarch64-linux-gnu/tegra-egl/libEGL_nvidia.so.0”
  2. The board is having jetpack 5.0.2 (runtime version) booted onto a USB.
  3. Installed VPI 2 on python 3.8

still it’s not able to open shared object file.

1 Like

I’m having same issue on VPI there was an error
libEGL_nvidia.so.0 : cannot open shared object file: No such file or directory
even though it’s exist in my system.

1 Like

I was able to fix this issue with export LD_LIBRARY_PATH="/usr/lib/aarch64-linux-gnu/tegra-egl/"