Skip to content

Validation broken due to "undefined symbol"

Validation of Vulkan applications is broken. I tested this with my own code, Vulkan example code and with "vkcube --validate". The last command gives as output:

Selected WSI platform: xcb
ERROR : GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
	/usr/lib/libVkLayer_khronos_validation.so: undefined symbol: _ZN3vku42safe_VkVideoSessionParametersCreateInfoKHR10initializeEPK37VkVideoSessionParametersCreateInfoKHRPNS_14PNextCopyStateE

	Objects - 1
		Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 0x60b1e511bd50

ERROR : GENERAL - Message Id Number: 0 | Message Id Name: Loader Message
	Requested layer "VK_LAYER_KHRONOS_validation" failed to load!

	Objects - 1
		Object[0] - VK_OBJECT_TYPE_INSTANCE, Handle 0x60b1e511bd50

vkCreateInstance failed.

My applications complain about the same undefined symbol.

The issue is as issue 9551 reported upstream, but the cause may lay in compiling the source code (see the end of issue 7875 for a similar issue last year).

Edited by Jørgen Best
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information