sys-libs/db & dev-lang/php dependency problem...
On Wednesday 04 November 2009 09:54:07 Nicolas Sebrecht wrote:
> On Sat, Oct 03, 2009 at 06:56:17PM +0200, Jarry wrote:
> > # emerge --depclean
> > * In order to avoid breakage of link level dependencies, one or more
> > * packages will not be removed. This can be solved by rebuilding the
> > * packages that pulled them in.
> > *
> > * sys-libs/db-4.6.21_p4 pulled in by:
> > * dev-lang/php-5.2.10
> > *
> "depclean" says it won't clean the db package because of a php
> dependency. I _guess_ it comes from the "berkdb" use flag of php.
> > I repeated it a few times, still the same. So what can I do more
> > to fix it?
> I you're sure you don't need db, you could try to remove it by hand and
> see if 'emerge php' want reinstall it. I think you should use quickpkg
> or demerge before everything else.
I have a similar recurring problem and simply rebuilding packages does not
help. In my case it's caused by a package linking to a library which is not in
DEPEND. (Yes, this has broken policy on how to do these things). The result is
that the portage dependency tree says the library can be removed, but ldd says
otherwise. Sometimes you have to put the library in world
If you run ldd on the php binaries, what do you can with regard to db?
db is also slotted, what does "eix -e db" say?
alan dot mckinnon at gmail dot com