[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#71109] [PATCH] gnu: vulkan-tools: Wrap binaries with LD_LIBRARY_PAT
From: |
nathan |
Subject: |
[bug#71109] [PATCH] gnu: vulkan-tools: Wrap binaries with LD_LIBRARY_PATH. |
Date: |
Sun, 2 Jun 2024 01:19:14 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 |
commit e156996c478a8e5d040ccf199437bcdbdbab63ed in vulkan-tools makes it
use volk to load vulkan instead of a bunch of custom code in the repo.
volk uses dlopen("libvulkan.so.1").
i dont remember volk ever working, so this just propagated the bug to
another program.
attached is a patch to hard-code the libvulkan.so path into volk.
vulkan-headers also has dlopen for libvulkan.so.
i dont know which programs use it, but next time we have to rebuild
everything we may as well patch it.
i attached a patch that shows how to do it.
0001-example-of-how-to-patch-patch-of-vulkan-loader-into-.patch
Description: Text Data
0001-gnu-volk-Hard-code-path-of-vulkan-loader-for-dynamic.patch
Description: Text Data
- [bug#71109] [PATCH] gnu: vulkan-tools: Wrap binaries with LD_LIBRARY_PATH.,
nathan <=