Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 200167 - [PATCH] Install environment files for VirtualBox
Summary: [PATCH] Install environment files for VirtualBox
Status: RESOLVED DUPLICATE of bug 197427
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-24 10:50 UTC by Bram Schoenmakers
Modified: 2007-11-24 11:00 UTC (History)
0 users

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


Attachments
Patch for VirtualBox-1.5.2 source (virtualbox-1.5.2-environment.patch,504 bytes, patch)
2007-11-24 10:50 UTC, Bram Schoenmakers
Details | Diff
Patch for VirtualBox-1.5.2 binary ebuild (virtualbox-bin-1.5.2-environment.patch,539 bytes, patch)
2007-11-24 10:51 UTC, Bram Schoenmakers
Details | Diff
Patch for VirtualBox-9999 source (virtualbox-9999-environment.patch,497 bytes, patch)
2007-11-24 10:52 UTC, Bram Schoenmakers
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bram Schoenmakers 2007-11-24 10:50:04 UTC
When you want to run /opt/VirtualBox/VBoxManage I got this error:

./VBoxManage: error while loading shared libraries: VBoxDDU.so: cannot open shared object file: No such file or directory

So that means that /opt/VirtualBox is not in the LDPATH. This patch modifies the ebuilds for VirtualBox such that environment files are installed in /etc/env.d for VirtualBox to solve this problem.

Attached patches are for:
1) VirtualBox-1.5.2 source
2) VirtualBox-9999 source
3) VirtualBox-1.5.2 binary package

These patches more or less obsolete the symlink /usr/bin/VirtualBox -> /opt/VirtualBox/VBox.sh , but it's up to the mainainer to actually remove it.

Reproducible: Always
Comment 1 Bram Schoenmakers 2007-11-24 10:50:54 UTC
Created attachment 136873 [details, diff]
Patch for VirtualBox-1.5.2 source

Install env.d file
Comment 2 Bram Schoenmakers 2007-11-24 10:51:44 UTC
Created attachment 136874 [details, diff]
Patch for VirtualBox-1.5.2 binary ebuild

Install env.d file
Comment 3 Bram Schoenmakers 2007-11-24 10:52:25 UTC
Created attachment 136876 [details, diff]
Patch for VirtualBox-9999 source

Install env.d file
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-11-24 11:00:52 UTC
Us the wrapper, it works just fine.


*** This bug has been marked as a duplicate of bug 197427 ***