Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 598020 - app-emulation/virtualbox-bin tries to load libraries from wrong location
Summary: app-emulation/virtualbox-bin tries to load libraries from wrong location
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: masterzorag
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-24 19:39 UTC by Alex
Modified: 2016-10-30 11:49 UTC (History)
1 user (show)

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


Attachments
Strace of VBoxManage (strace-VBoxManage.log,17.32 KB, text/plain)
2016-10-24 19:39 UTC, Alex
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2016-10-24 19:39:26 UTC
Created attachment 451338 [details]
Strace of VBoxManage

As of =app-emulation/virtualbox-bin-5.1.6.110634, VirtualBox binaries tries to load XPCOM library from /usr/lib64/virtualbox despite being installed to /opt/VirtualBox. In /etc/vbox/vbox.cfg INSTALL_DIR is set to "INSTALL_DIR=/opt/VirtualBox", but generated file ~/.VirtualBox/xpti.dat contains line "1,AppDir,/usr/lib64/virtualbox". Even if I change that, file got regenerated at each VBox* programs start, and even if I forbid writing to this file the VBox* binaries still trying to load library from /usr/lib64/virtualbox. Strace of "VBoxManage showvminfo" attached.
The possible easiest solution to this is to create symlink "/usr/lib64/virtualbox -> /opt/VirtualBox". I think ebuild should do that.
Comment 1 masterzorag 2016-10-29 19:56:52 UTC
as seen in you attachment (since my 5.1.8 seems works fine)

https://github.com/gentoo/gentoo/pull/2695
Comment 2 Alex 2016-10-30 11:49:36 UTC
(In reply to masterzorag from comment #1)
> as seen in you attachment (since my 5.1.8 seems works fine)
> 
> https://github.com/gentoo/gentoo/pull/2695

I can confirm that 5.1.8 works fime for me too. Closed, I guess.