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

Bug 174826

Summary: media-sound/amarok-1.4.5-r1 has automagic dependancy on lcms
Product: Gentoo Linux Reporter: Richard Ash <richard>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal CC: sound
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Ash 2007-04-16 18:32:08 UTC
I unmerged lcms from my system because depclean listed it as unused by anything. Now if I try to start amarok I get an error:
  amarok: error while loading shared libraries: liblcms.so.1: cannot open shared object file: No such file or directory

So obviously amarok was using it, despite the fact that it isn't listed as a dependency, and doing emerge -pv --deep --update world doesn't request it be installed.
So somewhere along the line there should be a dep on lcms, or it should be explicitly disabled if lcms is not in the use flags.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-17 07:34:24 UTC
Not quite. You can track this down to libmng as dependency of Qt. When you don't want the linker to include unnecessarily every single dynamic library of the whole dependecy chain, you have to use the --as-needed linker flag.

http://www.gentoo.org/proj/en/qa/asneeded.xml
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-17 07:34:42 UTC
*** Bug 174828 has been marked as a duplicate of this bug. ***