Check for -Bstatic in configure.in, it's not so fun is it? adler32 /var/tmp/portage/net-analyzer/mrtg-2.16.2/image/usr/bin/rateup png_get_libpng_ver /var/tmp/portage/net-analyzer/mrtg-2.16.2/image/usr/bin/rateup
rtg too.
for net-analyzer/rtg: package.masked, will be removed in 30 days. bundles *very* outdated versions of gd, zlib and libpng libraries, static links, upstream seems dead, removal in 30 days. bug #247958 and bug #251425
treecleaners removed this since it was long enough and definitely heading out.