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>
Status: RESOLVED OBSOLETE    
Severity: normal CC: bkohler, patrick, proxy-maint, swapon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
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/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.