I’m developing an application which uses opengl. I used ldd to check the executable file and found files like libgl.so and libglx.so are linked. For libGLX.so.0 I found it is linked as:
I read some topics in this forum and knew that there is another libGLX_nvidia.so under folder /usr/lib/aarch64-linux-gnu/tegra, so which one shall I use? The current one being linked is it correct?
Hi,
The lib is required although your application may not use it. Not sure but probably certain linkages are not shown in ldd. Please always include the lib in your system.
Do you mean I need to let my executable include with libGLX_nvidia.so.0 instead of libGLX.so.0 ? If so, how could I achieve this, since libGL.so needs libGLX.so.0? I tried copy libGLX_nvidia.so.0 to libGLX.so.0, the system crashed and no display then.
Hi,
The lib libGLX_nvidia.so is loaded in prebuilt libs for certain use-cases. If you remove it and your use-case can be successfully run, you may remove libGLX_nvidia.so from your system.