Right location for archful shared libraried
Hi, I'm currently trying to package https://gitlab.freedesktop.org/monado/utilities/vulkan-layers for OpenSUSE Tumbleweed(x86_64), the package provides two files VkLayer_MND_enable_timeline_semaphore.json and libVkLayer_MND_enable_timeline_semaphore.so, the shared Library is 64-bit, having the library in /usr/lib64 causes issues in some games(can give more details in necessary) and i was able to fix said issues by moving the library to /usr/lib, I was wandering if this should be avoided or not. Kind regards -Etch
Hello, On Tue, 16 Apr 2024, Mzz wrote:
Hi, I'm currently trying to package https://gitlab.freedesktop.org/monado/utilities/vulkan-layers for OpenSUSE Tumbleweed(x86_64), the package provides two files VkLayer_MND_enable_timeline_semaphore.json and libVkLayer_MND_enable_timeline_semaphore.so, the shared Library is 64-bit, having the library in /usr/lib64 causes issues in some games(can give more details in necessary) and i was able to fix said issues by moving the library to /usr/lib, I was wandering if this should be avoided or not.
It should be avoided. What's the issue? (I haven't looked at the above sources, but if the problem is that the layer is loaded by default, then the json file should be put into the /usr/share/vulkan/explicit_layer.d directory, so as to not do that. If the issue is something else then I can't really imagine how it would be solved by placing the shared lib somewhere else). Ciao, Michael.
participants (2)
-
Michael Matz
-
Mzz