/usr/portage/app-office/dia ebuild builds without incident but does not produce a working executable... libpng library listed in app failure but appears to function for other applications. after emerging dia attempting to run it from an x term results in the following error (in addition to a gnome crash dialog box) :ERROR FOLLOWS: fraterm@bertrand fraterm $ dia libpng warning: Application was compiled with png.h from libpng-1.0.12 libpng warning: Application is running with png.c from libpng-1.2.1 libpng error: Incompatible libpng version in application and library Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject' The only version of libpng on my system is 1.2.1 and the dependency list for the dia ebuild appears to be sane... requiring >= 1.2.1 libpng to be functional >> my /usr/include/png.h is rather large and would not be appropriate to attach at this time. I only have one of them though ... and other apps depending on png appear to function. gimp for instance...
try the /usr/portage/media-libs/libpng/files/libpng-update-libs.sh script.. this will check your systems libraries for broken libpng links this error is stemming from having libaries linked to an old version, but the applications with a new version.
In process of verifying...