LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-01-2007, 02:01 PM   #1
tpariel
LQ Newbie
 
Registered: Aug 2006
Posts: 11

Rep: Reputation: 0
python+GTK+Compiz


hi all,

I just upgraded to Gutsy and I was trying to install the Compiz. Every thing seems to be ok until I tried to run the ccsm and I got the following message:

talavera@talavera-laptop1:~$ ccsm
Traceback (most recent call last):
File "/usr/bin/ccsm", line 24, in <module>
import gtk
File "/var/lib/python-support/python2.5/gtk-2.0/gtk/__init__.py", line 48, in <module>
from gtk import _gtk
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

After some walking around the problem and by coincidence I ran the pygtk-demo command and I got exactly the same error.

Please, could you help me with this? I do not what else to do ???
 
Old 01-20-2011, 04:42 PM   #2
manicmike
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Thumbs up Sometimes this still happens

Well, years later I got the same error but with python 2.6 running.

The problem was that I had two versions of libpng12 installed. One was quite old, from an installation of lightscribe simple labeler. The system loaded it when I started update-manager and immediately died. Starting it from the command line gave the relevant error.
FIX: I edited /etc/ld.so.d/libc.conf to add /lib and /usr/lib then ran sudo ldconfig. update-manager instantly started working again. I could also have disabled or deleted the lightscribeApplications.conf in ld.so.d but then lightscribe may not work. Hope this helps someone.
Mike
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python + GTK Opinion Question nomb Programming 1 11-14-2007 06:43 PM
python gtk program almost done, stuck at os.popen? Maybe? nomb Programming 1 03-22-2007 03:44 PM
Getting GTK to work with python crazyjimbo Programming 4 11-27-2006 01:14 PM
LXer: How to use GTK+ in C and a C# Python comparison LXer Syndicated Linux News 0 01-12-2006 01:31 PM
WineX, python-gnome, and python-gtk DrD Fedora 0 08-03-2004 01:11 PM


All times are GMT -5. The time now is 01:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration