Bugzilla – Bug 1217135
Broken package vulkan-validationlayers: undefined symbol 'vkuGetLayerSettingValues'
Last modified: 2023-11-15 11:08:50 UTC
$ zypper info vulkan-validationlayers Loading repository data... Reading installed packages... Information for package vulkan-validationlayers: ------------------------------------------------ Repository : Main Repository (OSS) (20231110) Name : vulkan-validationlayers Version : 1.3.268.0-1.1 Arch : x86_64 Vendor : openSUSE Installed Size : 30.0 MiB Installed : No Status : not installed Source package : vulkan-validationlayers-1.3.268.0-1.1.src Upstream URL : https://github.com/KhronosGroup/Vulkan-ValidationLayers Summary : Validation layers for Vulkan Description : Vulkan is a 3D graphics and compute API. This package contains the Khronos official Vulkan validation layers. $ echo '#include <dlfcn.h>\n#include <stdio.h>\nint main() { if (!dlopen("/usr/lib64/libVkLayer_khronos_validation.so", RTLD_LAZY)) { printf("%s\\n", dlerror()); }}' | gcc -xc -o test - && ./test /usr/lib64/libVkLayer_khronos_validation.so: undefined symbol: _Z24vkuGetLayerSettingValuesP20VkuLayerSettingSet_TPKcRSt6vectorISt4pairIjjESaIS5_EE This symbol is supposed to come from vulkan-utility-libraries-devel, which pulls in the (confusingly named) libVulkanLayerSettings-1_3_268_0, but this does not define any such symbol (or any symbol at all, really): $ nm -D /usr/lib64/libVulkanLayerSettings-1.3.268.0.so w _ITM_deregisterTMCloneTable w _ITM_registerTMCloneTable w __cxa_finalize w __gmon_start__ Something seems very wrong.
Duplicate of bug 1217046 ?
(In reply to hui from comment #1) > Duplicate of bug 1217046 ? Yes, seems like it.
. *** This bug has been marked as a duplicate of bug 1217046 ***
no need to write a dlopen program, just use `ldd -r`