Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sun VirtualBox 2.1.0 calls for libcap.so.1 - how to support
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Sat Dec 27, 2008 6:14 am    Post subject: Sun VirtualBox 2.1.0 calls for libcap.so.1 - how to support Reply with quote

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
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Sat Dec 27, 2008 12:54 pm    Post subject: Reply with quote

There's a bug about this, if you'd like to take a look at the discussion there.
Back to top
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Mon Dec 29, 2008 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
jw5801
Apprentice
Apprentice


Joined: 12 Jun 2008
Posts: 251
Location: Melbourne, Australia

PostPosted: Mon Dec 29, 2008 7:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Exil
Apprentice
Apprentice


Joined: 10 Oct 2005
Posts: 251
Location: Nibylandia

PostPosted: Mon Dec 29, 2008 8:19 am    Post subject: Reply with quote

linking works for me.

ln -s /lib/libcap.so.2 /lib/libcap.so.1
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Mon Dec 29, 2008 6:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
stardotstar
l33t
l33t


Joined: 10 Feb 2006
Posts: 887
Location: 2074/SYD/NSW/AU

PostPosted: Mon Dec 29, 2008 11:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum