What's the usage of libglx_nvidia.so.0 under /usr/lib/aarch64-linux-gnu/tegra?

Hi Nvidia,

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:

libGLX.so.0 => /lib/aarch64-linux-gnu/libGLX.so.0 (0x0000ffffa9466000)

libGLdispatch.so.0 => /lib/aarch64-linux-gnu/libGLdispatch.so.0 (0x0000ffffa94a8000)

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?

Thanks!

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.

Hi @DaneLLL

I got below files’ link relation on my board, is it as wanted?

@DaneLLL

below is linkage of my executable with GL related libs:

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.

1 Like

Hi @DaneLLL

I can’t understand the details. could you explan more, thanks?

remove what lib?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.