ParaView binary package contains duplicate libs instead of symbolic links for certain libs
For certain libs, the binary release generated by the superbuild contains duplicate of libs instead of symbolic links:
]$ ls -lah libospray*
-rwxr-xr-x 1 glow glow 35K May 18 2021 libospray_module_denoiser.so
-rwxr-xr-x 1 glow glow 35K May 18 2021 libospray_module_denoiser.so.2
-rwxr-xr-x 1 glow glow 35K May 18 2021 libospray_module_denoiser.so.2.4.0
lrwxrwxrwx 1 glow glow 26 May 18 2021 libospray_module_ispc.so -> libospray_module_ispc.so.2
-rwxr-xr-x 1 glow glow 6.8M May 18 2021 libospray_module_ispc.so.2
lrwxrwxrwx 1 glow glow 26 May 18 2021 libospray_module_ispc.so.2.4.0 -> libospray_module_ispc.so.2
-rwxr-xr-x 1 glow glow 1.5M May 18 2021 libospray_module_mpi.so
-rwxr-xr-x 1 glow glow 1.5M May 18 2021 libospray_module_mpi.so.2
-rwxr-xr-x 1 glow glow 1.5M May 18 2021 libospray_module_mpi.so.2.4.0
lrwxrwxrwx 1 glow glow 14 May 18 2021 libospray.so -> libospray.so.2
-rwxr-xr-x 1 glow glow 299K May 18 2021 libospray.so.2
lrwxrwxrwx 1 glow glow 14 May 18 2021 libospray.so.2.4.0 -> libospray.so.2
This is caused by this code:
if (ospray_enabled)
set(osprayextra_libraries
openvkl_module_cpu_device
openvkl_module_cpu_device_4
openvkl_module_cpu_device_8
openvkl_module_cpu_device_16
ospray_module_denoiser
ospray_module_ispc
ospray_module_mpi
rkcommon)
foreach (osprayextra_library IN LISTS osprayextra_libraries)
file(GLOB lib_filenames
RELATIVE "${superbuild_install_location}/lib"
"${superbuild_install_location}/lib/lib${osprayextra_library}.so*")
foreach (lib_filename IN LISTS lib_filenames)
superbuild_unix_install_module("${lib_filename}"
"lib"
"lib"
LOADER_PATHS "${library_paths}"
LOCATION "lib")
endforeach ()
endforeach ()
endif ()
Althgouh I'm not sure if and how to fix it.