Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 502184

Summary: www-client/google-chrome-33.0.1750.117_p1 should depend on sys-libs/libcap
Product: Gentoo Linux Reporter: rightcoset
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal CC: chromium, cxescalona, xmw
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description rightcoset 2014-02-23 00:22:36 UTC
Created attachment 371102 [details]
emerge --info

After a new installation of `google-chrome` in the stable channel, run `google-chrome-stable` will report: 

"/usr/bin/google-chrome-stable: error while loading shared libraries: libcap.so.2: cannot open shared object file: No such file or directory",
and it fails to start.

With `sys-labs/libcap` installed, the error message gone and `google-chrome-stable` will start as normal.

BTW, one can successfully `emerge -c libcap` with `google-chrome` installed, but it will report: 

!!! existing preserved libs:
>>> package: sys-libs/libcap-2.22
 *  - /lib64/libcap.so.2
 *  - /lib64/libcap.so.2.22
 *      used by /opt/google/chrome/chrome (www-client/google-chrome-33.0.1750.117_p1)

However, run `emerge @preserved-rebuild` would just reinstall `google-chrome` and it still fails to start.

It seems that `libcap` should be considered as a dependance of `google-chrome`.
Comment 1 Jack Morgan (RETIRED) gentoo-dev 2014-02-24 03:12:42 UTC
I've reproduced this bug, missing sys-libs/libcap dependancy
Comment 2 Mike Gilbert gentoo-dev 2014-02-24 04:09:26 UTC
Thanks, should be fixed.
Comment 3 Mike Gilbert gentoo-dev 2014-02-24 19:23:26 UTC
*** Bug 502344 has been marked as a duplicate of this bug. ***