Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2841 - DIA application error
Summary: DIA application error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Spider (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-19 00:47 UTC by Michael S Costello (MiscRat)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael S Costello (MiscRat) 2002-05-19 00:47:44 UTC
/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...
Comment 1 Spider (RETIRED) gentoo-dev 2002-05-23 16:09:46 UTC
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.
Comment 2 Michael S Costello (MiscRat) 2002-05-23 23:07:56 UTC
In process of verifying...