When trying to use /usr/lib64/cmake/OSL/OSLTargets.cmake this results in an error due to a misalignment of filesystem and cmake expectations: -- Setting namespace to 'MaterialX_v1_39_4' CMake Error at /usr/lib64/cmake/OSL/OSLTargets.cmake:140 (message): The imported target "OSL::osl.imageio" references the file "/usr/lib64/osl.imageio.so" but this file does not exist. Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/usr/lib64/cmake/OSL/OSLTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib64/cmake/OSL/OSLConfig.cmake:61 (include) CMakeLists.txt:219 (find_package) Reproducible: Always Steps to Reproduce: 1. Try to use the OSLTargets.cmake Actual Results: osl.imageio.so is unable to be found. Expected Results: We look at the correct location: /usr/lib64/OpenImageIO-3.1/osl.imageio.so Additional Information: This was found when trying to enable tests for MaterialX.
The root cause of the issue: `` # Move the OpenImageIO plugin into its default search path mkdir %{buildroot}%{_libdir}/OpenImageIO-%{oiio_major_minor_ver} mv %{buildroot}%{_libdir}/osl.imageio.so %{buildroot}%{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/ `` Perhaps keeping "%{_libdir}/osl.imageio.so" as OpenImageIO-plugin-osl subpackage and set symlink for "%{_libdir}/OpenImageIO-%{oiio_major_minor_ver}/" do the trick.
FEDORA-2025-f27344a501 (openshadinglanguage-1.14.8.0-4.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2025-f27344a501
FEDORA-2025-f27344a501 (openshadinglanguage-1.14.8.0-4.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report.