Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882507 - app-emulation/virtualbox: missing libvulkan.so.1
Summary: app-emulation/virtualbox: missing libvulkan.so.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-11-22 14:03 UTC by Silvio
Modified: 2022-12-10 09:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silvio 2022-11-22 14:03:05 UTC
Starting virtualbox machines it crashes with error:

00:00:00.994360 rtldrNativeLoad: dlopen('libvulkan.so.1', RTLD_NOW | RTLD_LOCAL) failed: libvulkan.so.1: impossibile aprire il file oggetto condiviso: File o directory non esistente

I solved installing 

vulkan-tools

that install that libraries.

I think it misses the correct dependencies.

Please fix for others.




Reproducible: Always
Comment 1 Silvio 2022-11-22 14:09:40 UTC
It is enough to install
vulkan-loader
Comment 2 Viorel Munteanu gentoo-dev 2022-11-22 16:15:34 UTC
Hi!

Can you tell me what version of virtualbox are you trying?  Also which USE flags you have set?
Comment 3 Silvio 2022-11-22 19:11:09 UTC
(In reply to Viorel Munteanu from comment #2)
> Hi!
> 
> Can you tell me what version of virtualbox are you trying? 


7.0.2 and 7.0.4

> Also which USE
> flags you have set?

alsa dbus gui opengl pam pulseaudio sdk sdl udev -debug -doc -dtrace -java -lvm -pch -python -vboxwebsrv -vnc PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Comment 4 Larry the Git Cow gentoo-dev 2022-12-10 09:56:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2c21691f6c7522f647e0a77128617533ecef154

commit d2c21691f6c7522f647e0a77128617533ecef154
Author:     Viorel Munteanu <ceamac@gentoo.org>
AuthorDate: 2022-11-22 17:54:11 +0000
Commit:     Viorel Munteanu <ceamac@gentoo.org>
CommitDate: 2022-12-10 09:53:02 +0000

    app-emulation/virtualbox: add vulkan dependency
    
    If compiled with USE=opengl, virtualbox tries to dlopen libvulkan.so.1
    and crashes if it cannot be found when starting machines configured with
    display VMSVGA.
    
    Even the headless machine crashes.  So add libvulkan as RDEPEND.
    
    Closes: https://bugs.gentoo.org/882507
    Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>

 .../virtualbox/{virtualbox-7.0.2.ebuild => virtualbox-7.0.2-r1.ebuild}   | 1 +
 .../virtualbox/{virtualbox-7.0.4.ebuild => virtualbox-7.0.4-r1.ebuild}   | 1 +
 2 files changed, 2 insertions(+)