Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 367443

Summary: app-emulation/virtualbox-9999 sets RPATH to /opt/VirtualBox but is installed to /usr/lib/virtualbox
Product: Gentoo Linux Reporter: cJ <cJ-gentoo>
Component: New packagesAssignee: Lars Wendler (Polynomial-C) <polynomial-c>
Severity: normal CC: bkohler, patrick, proxy-maint, swapon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

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/ will try to load from /opt/VirtualBox.

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.