Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 367443 - app-emulation/virtualbox-9999 sets RPATH to /opt/VirtualBox but is installed to /usr/lib/virtualbox
Summary: app-emulation/virtualbox-9999 sets RPATH to /opt/VirtualBox but is installed ...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-15 22:24 UTC by cJ
Modified: 2017-08-31 18:30 UTC (History)
4 users (show)

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 cJ 2011-05-15 22:24:12 UTC
VirtualBox sources currently (2011-05-15) hardcodes library RPATH to /opt/VirtualBox.

If the 9999 ebuild does not specify the installation path beforehands, there will be a mismatch, and /usr/lib/virtualbox/VirtualBox.so will try to load VBoxVMM.so from /opt/VirtualBox.

http://www.virtualbox.org/ticket/7623

Upstream suggested solution is to perform :
echo "VBOX_PATH_APP_PRIVATE = /usr/lib/virtualbox" >> LocalConfig.kmk

I did not try it as it takes a while to compile... I just linked /usr/lib/virtualbox to /opt/VirtualBox to work around the problem.