Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 467310 - app-emulation/virtualbox-bin-4.2.12 - fails to run after update to =dev-libs/json-c-0.11
Summary: app-emulation/virtualbox-bin-4.2.12 - fails to run after update to =dev-libs/...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 08:42 UTC by Konstantin Ivanov
Modified: 2013-05-06 11:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Ivanov 2013-04-26 08:42:01 UTC
$ VirtualBox 
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/opt/VirtualBox/VirtualBox.so",) failed: libjson.so.0: cannot open shared object file: No such file or directory

With dev-libs/json-c-0.10-r1 working properly.
Comment 1 Konstantin Ivanov 2013-04-26 08:46:16 UTC
After you create a symbolic link libjson.so.0 -> /usr/lib64/libjson-c.so.2.0.1 VirtualBox was launched.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2013-04-28 11:37:33 UTC
The package does not even depend to dev-libs/json-c

since it is a binary only package, i dont think we can do anything else than restricting the version of the json-c library
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2013-04-28 11:58:06 UTC
+  28 Apr 2013; Markos Chandras <hwoarang@gentoo.org>
+  virtualbox-bin-4.2.10.ebuild, virtualbox-bin-4.2.12.ebuild:
+  Add dev-libs/json-c to RDEPEND and restrict v0.11 since the library name
+  changed. Bug #467310
+
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.2.10.ebuild?r1=1.1&r2=1.2

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/virtualbox-bin/virtualbox-bin-4.2.12.ebuild?r1=1.1&r2=1.2
Comment 4 Konstantin Ivanov 2013-04-29 08:58:27 UTC
Sorry that did not answer, but the problem with Virtualboks-bin is related to pulseaudio. On my system, the sound output through pulseaudio. After the transition to dev-libs/json-ts-0.11 having problems in his work. Pulseaudio linked with libyson.so.0, while in the new version dev-libs/json-c have not library  or links with this name. Here's a bug https://bugs.gentoo.org/show_bug.cgi?id=467280. After upgrading to media-sound/pulseaudio-3.0-r1 no problems running Virtualboks. So the no need to add depending app-emulation/virtualbox-bin dev-libs/json-ts-0.10-r1.

Once again, I apologize.
Comment 5 Markos Chandras (RETIRED) gentoo-dev 2013-05-06 11:13:30 UTC
+  06 May 2013; Markos Chandras <hwoarang@gentoo.org>
+  virtualbox-bin-4.2.10.ebuild, virtualbox-bin-4.2.12.ebuild:
+  Restore json-c depends per https://bugs.gentoo.org/show_bug.cgi?id=467310#c4
+