I am having trouble with the recent ParaView Server for Headless Machines (osmesa) binaries such that it is looking for and failing to find GL libs.
$ ./ParaView-5.9.1-osmesa-MPI-Linux-Python3.8-64bit/bin/pvpython
Python 3.8.8 (default, May 17 2021, 15:56:25)
[GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
“” I can read, render and save images fine with 5.9.“”"
$ ./ParaView-5.10.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/pvpython
/home/demo/netcdf_files_orca025/ParaView-5.10.1-osmesa-MPI-Linux-Python3.9-x86_64/bin/pvpython-real: error while loading shared libraries: libglapi.so.0: cannot open shared object file: No such file or directory
$ ./ParaView-5.11.2-osmesa-MPI-Linux-Python3.9-x86_64/bin/pvpython
/home/demo/netcdf_files_orca025/ParaView-5.11.2-osmesa-MPI-Linux-Python3.9-x86_64/bin/pvpython-real: error while loading shared libraries: libglapi.so.0: cannot open shared object file: No such file or directory
$ ./ParaView-5.12.0-osmesa-MPI-Linux-Python3.10-x86_64/bin/pvpython
/home/demo/netcdf_files_orca025/ParaView-5.12.0-osmesa-MPI-Linux-Python3.10-x86_64/bin/pvpython-real: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Combinations of --disable-xdisplay-test, --force-offscreen-rendering, and --mesa --backend swr do not seem to help and I don’t see anything related in the 5.10 release notes.
$ ./ParaView-5.12.0-osmesa-MPI-Linux-Python3.10-x86_64/bin/pvpython --mesa
/home/demo/netcdf_files_orca025/ParaView-5.12.0-osmesa-MPI-Linux-Python3.10-x86_64/bin/pvpython-real: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
Note, a build of ParaView 5.12 from paraview-superbuild with osmesa turned on works fine on the machine. The problem is just that the published binary does not.