[Issues] EGL(NvMediaEgl) & OpenGL(ROS)

Any pkg based on OpenGL (e.g. ros-kinetic-rviz) installed on Xavier, all programs which used EGL would end up runtime error.

e.g.

NvMediaEglStreamWrapperInitializeEGL: Cannot find function NvEglApiGetAccess
nvmEglStProducerCreateCommon:Wrapper initialization failed
NvMediaEglStreamProducerCreate: Failed to create Producer

Only if we export LD_LIBRARY_PATH=/usr/lib under ~/.bashrc,
then the error messages won’t show up, and the program can execute correctly.

Hi,
It is current solution. Please refer to
https://devtalk.nvidia.com/default/topic/1030193/general/cannot-find-function-nveglapigetaccess-after-installing-ros-kinetic/post/5277106/#5277106