ld complains about non existing library /lib/libbz2.so Reproducible: Always Steps to Reproduce: 1. emerge =clamav-0.58.1 2. 3. symbolic link from /lib/libbz2.so.1 to /lib/libbz2.so fix problem
$ equery files bzip2 <snip> /usr/lib/libbz2.a /usr/lib/libbz2.so -> libbz2.so.1.0.3 /usr/lib/libbz2.so.1 -> libbz2.so.1.0.3 /usr/lib/libbz2.so.1.0 -> libbz2.so.1.0.3 /usr/lib/libbz2.so.1.0.3 </snip> Re-emerge bzip2 and try again. If it still fails, post emerge --info output and error messages from the failing emerge.
re-emerging bzip2 solved the problem
Closing properly...
INVALID