Bug 1217135 - Broken package vulkan-validationlayers: undefined symbol 'vkuGetLayerSettingValues'
Summary: Broken package vulkan-validationlayers: undefined symbol 'vkuGetLayerSettingV...
Status: RESOLVED DUPLICATE of bug 1217046
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-14 15:14 UTC by Niklas Haas
Modified: 2023-11-15 11:08 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niklas Haas 2023-11-14 15:14:05 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.
Comment 1 hui 2023-11-14 20:09:30 UTC
Duplicate of bug 1217046 ?
Comment 2 Niklas Haas 2023-11-15 09:28:24 UTC
(In reply to hui from comment #1)
> Duplicate of bug 1217046 ?

Yes, seems like it.
Comment 3 hui 2023-11-15 11:07:43 UTC
.

*** This bug has been marked as a duplicate of bug 1217046 ***
Comment 4 Jan Engelhardt 2023-11-15 11:08:50 UTC
no need to write a dlopen program, just use `ldd -r`