On 09/23/2017 10:55 PM, Christoph Böhmwalder wrote:
Thanks for the suggestion Stephano. I tried re-emerging libpng and
running a clean Thunderbirs build overnight, however it still fails with
the same message.
--
Regards,
Christoph
I had a similar problem but it was a while ago (a couple years.) I seem
to recall that one of the packages didn't clean up properly after an
unmerge/depclean and left behind some remnants that nothing owned.
My memory is pretty hazy, but I remember having to see what libpng
needed (using ldd) and making sure there were no erroneous libraries around.
Have you done a --depclean recently? Have you tried `revdep-rebuild`? It
may fix the problem first.
Otherwise, try issuing `ldd /usr/lib/libpng16.so.16`. Then see what
versions are installed by `equery list media-libs/libpng sys-libs/zlib`.
Then manually check the libs directory (use the ldd output, it will show
paths) to make sure there's no old libraries hanging around:
`ls /lib64/libz*`
You can see if it's owned by a package by using `equery belongs
/lib/libz.so`.
I think what happened in my case is an old library was there that didn't
belong to any package and that's what the linker used (and failed.)
Dan