View previous topic :: View next topic |
Author |
Message |
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Sat Dec 27, 2008 6:14 am Post subject: Sun VirtualBox 2.1.0 calls for libcap.so.1 - how to support |
|
|
I read that libcap.so.1 is not in portage (perhaps I could make it pull in 2 which is more secure(?) and link to it but it seems messy.
VirtualBox needs it - with version 2.1.0 - wasn't required for 2.0.4 .
Since I am not running VirtualBox out of portage and let it do its thing in /opt I need a stable way of providing for its dependency.
What is the best way to do this?
Find and instal the necessary libcap in /lib where it will be in the search path?
uses sym links somehow?
TIA
Will _________________ ]8P |
|
Back to top |
|
|
jw5801 Apprentice
Joined: 12 Jun 2008 Posts: 251 Location: Melbourne, Australia
|
Posted: Sat Dec 27, 2008 12:54 pm Post subject: |
|
|
There's a bug about this, if you'd like to take a look at the discussion there. |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Mon Dec 29, 2008 6:49 am Post subject: |
|
|
hmm, thank you - I didn;t hunt that down and now I see I am at:
Quote: | ------- Comment #4 From Alexey Charkov 2008-12-17 21:00:36 0000 [reply] -------
Created an attachment (id=175642) [edit]
The main app ebuild
This is just a modified 2.0.6 version. The application installs but tries to
load libcap.so.1, which is in =sys-libs/libcap-1* (already out of tree).
Symlinking libcap.so (from the second version) to libcap.so.1 does not help
(invalid ELF header). Suggestions welcome.
|
the rest of the read is informative but inconclusive. I am not overlaying VB and think I'll play with some of the alternatives.
Appreciate the link.
\\' _________________ ]8P |
|
Back to top |
|
|
jw5801 Apprentice
Joined: 12 Jun 2008 Posts: 251 Location: Melbourne, Australia
|
Posted: Mon Dec 29, 2008 7:23 am Post subject: |
|
|
Yeah, I'm following that bug to see if any solutions develop. For the moment I'm sticking with 2.0.6, as it seems to work pretty well. |
|
Back to top |
|
|
Exil Apprentice
Joined: 10 Oct 2005 Posts: 251 Location: Nibylandia
|
Posted: Mon Dec 29, 2008 8:19 am Post subject: |
|
|
linking works for me.
ln -s /lib/libcap.so.2 /lib/libcap.so.1 |
|
Back to top |
|
|
Insanity5902 Veteran
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Mon Dec 29, 2008 6:52 pm Post subject: |
|
|
Just to add this to the thread, until an official solution is added to the portage tree, you can install virtualbox via jokey's overlay, and if it doesn't work for you out of the install you can add an symlink inside /opt/virtualbox so it doesn't affect the system.
Not sure if this works yet or not, but a simple `ln -s /lib/libcap.so /opt/VirtualBox/libcap.so.1` should take care of it. _________________ Join the adopt an unanswered post initiative today |
|
Back to top |
|
|
stardotstar l33t
Joined: 10 Feb 2006 Posts: 887 Location: 2074/SYD/NSW/AU
|
Posted: Mon Dec 29, 2008 11:57 pm Post subject: |
|
|
the sym link works fine for the record.
nb that is using the sun provided distribution of the bin not the overlay.
\\' _________________ ]8P |
|
Back to top |
|
|
|