Bug 19435 - libcairo has problem loading libpng12
Summary: libcairo has problem loading libpng12
Status: RESOLVED NOTOURBUG
Alias: None
Product: cairo
Classification: Unclassified
Component: png functions (show other bugs)
Version: 1.8.0
Hardware: Other All
: medium normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-07 02:58 UTC by Paul Steckler
Modified: 2009-04-26 02:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Paul Steckler 2009-01-07 02:58:50 UTC
On my Fedora 10 box, with Cairo 1.8.0 installed, when I start python, as 
follows:

  python -c 'import gtk.glade'

I get:

 ImportError: /usr/lib/libcairo.so.2: symbol png_set_expand_gray_1_2_4_to_8,   version PNG12_0 not defined in file libpng12.so.0 with link time reference

I've seen a couple of references to this problem on the Web by Googling, but 
no real resolution.  My Cairo and PNG libraries are all the latest in the 
Fedora repositories.
Comment 1 Chris Wilson 2009-01-24 10:34:21 UTC
It may seem a bit harsh, but really this is an issue with your installation of Python - it seems the libraries are incompatible. In particular I would hazard a guess that Python is dragging in a much older or trimmed down version of libpng.

An examination of "/proc/$pid/maps" (or using pmap) will tell you precisely which libraries are mapped into the process.
Comment 2 Paul Steckler 2009-04-26 02:31:10 UTC
In fact, python was trying to load libraries associated with a Mono 
Project installation, not the libraries in /usr/lib/.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.