Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
05-25-2012, 09:09 AM
|
#1
|
|
Member
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62
Rep:
|
libpangocairo-1.0.so.0: undefined symbol: cairo_has_show_text_glyphs error
Hi
I am using Debian Squeeze and I wanted to install Gimp 2.8. I installed a lot packages dependencies for Gimp but I could not successfully complete the install of the Gimp package
When installing the Gimp dependent packages, I think I broke a necessary package because now I am getting the following error when I try to start thunar, gedit and more.
Code:
symbol lookup error: /usr/local/lib/libpangocairo-1.0.so.0: undefined symbol: cairo_has_show_text_glyphs
How can I resolve this error?
|
|
|
|
05-25-2012, 09:25 AM
|
#2
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
From where did you install gimp 2.8?
Post the output:
Code:
$ cat /etc/apt/sources.list
|
|
|
|
05-25-2012, 10:00 AM
|
#3
|
|
Member
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62
Original Poster
Rep:
|
Quote:
Originally Posted by caravel
From where did you install gimp 2.8?
Post the output:
Code:
$ cat /etc/apt/sources.list
|
My sourc.list file's content at below but I did not install gimp by apt-get:
Code:
deb http://ftp.debian.org/debian/ squeeze-updates main contrib
deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib
I downloaded gimp source package and I tried to compile. I install a lot dependency packages for gimp but I can't successfully complete.
I do not know which package is causing the error but I tried to install below packages:
Code:
atk-2.2.0.tar.xz
cairo-1.12.2.tar
cairomm-1.2.2.tar.gz
gdk-pixbuf-2.26.1.tar
glib-2.32.3.tar
gtk+-3.4.3.tar
intltool-0.40.6.tar.gz
jpegsrc.v8d.tar.gz
libgimp2.0_2.8.0-2_i386.deb
libpng-1.5.10.tar
pango-1.21.5.tar.gz
pixman-0.22.0.tar.gz
pixman-0.24.4.tar.gz
pycairo-1.10.0.tar.bz2
Python-2.7.tgz
tiff-4.0.1.tar.gz
|
|
|
|
05-25-2012, 10:19 AM
|
#4
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
Quote:
Originally Posted by mesuutt
My sourc.list file's content at below but I did not install gimp by apt-get:
Code:
deb http://ftp.debian.org/debian/ squeeze-updates main contrib
deb http://http.us.debian.org/debian/ squeeze contrib non-free main
deb-src http://ftp.debian.org/debian/ squeeze-updates main contrib
|
Your sources.list appears to be missing the security repo which is quite an important one - add this to the end of your sources:
Code:
deb http://security.debian.org/ squeeze/updates main contrib non-free
Quote:
Originally Posted by mesuutt
I downloaded gimp source package and I tried to compile. I install a lot dependency packages for gimp but I can't successfully complete.
I do not know which package is causing the error but I tried to install below packages:
Code:
atk-2.2.0.tar.xz
cairo-1.12.2.tar
cairomm-1.2.2.tar.gz
gdk-pixbuf-2.26.1.tar
glib-2.32.3.tar
gtk+-3.4.3.tar
intltool-0.40.6.tar.gz
jpegsrc.v8d.tar.gz
libgimp2.0_2.8.0-2_i386.deb
libpng-1.5.10.tar
pango-1.21.5.tar.gz
pixman-0.22.0.tar.gz
pixman-0.24.4.tar.gz
pycairo-1.10.0.tar.bz2
Python-2.7.tgz
tiff-4.0.1.tar.gz
|
I see one .deb package there (from where?), the rest look like source tarballs? If you've installed that lot, then it's possible that the same files which are provided by debian packages have been overwritten - hence you have a broken system. You should try reinstalling all the versions of those packages from the repos using apt-get.
Once you've done that you need to do some more reading before trying to backport software and build debian packages. I would suggest this guide for starters: http://www.debianuserforums.org/viewtopic.php?f=9&t=127
Also have a look at backports and try to get the majority of the dependencies from there first: http://backports.debian.org/
Last edited by cynwulf; 05-25-2012 at 10:20 AM.
|
|
|
|
05-25-2012, 10:31 PM
|
#5
|
|
Senior Member
Registered: Jan 2011
Location: Australia Victoria
Distribution: Debian, Opensuse, Slackware (still undecided)
Posts: 1,073
Rep: 
|
you need gtk2, not gtk3
|
|
|
|
05-26-2012, 04:49 AM
|
#6
|
|
Member
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62
Original Poster
Rep:
|
Thanks for reply.
Quote:
|
I see one .deb package there (from where?)
|
I don't remember I download from where but I am guessing that I download the package from debian packages
I reinstalled all the packages with apt-get and checked the packages' version that same with the package's default version on squeeze but I am getting same error again.
I need to reinstall debian again ?
|
|
|
|
05-26-2012, 05:02 AM
|
#7
|
|
Member
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62
Original Poster
Rep:
|
Quote:
Originally Posted by Knightron
you need gtk2, not gtk3
|
I have gtk+2 2.20.1-2(I checked with apt-cache policy libgtk2.0 command)
thanks
Last edited by mesuutt; 05-26-2012 at 05:37 AM.
|
|
|
|
05-26-2012, 07:00 AM
|
#8
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
Did you reinstall libpango1.0-0?
|
|
|
|
05-26-2012, 07:52 AM
|
#9
|
|
Member
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62
Original Poster
Rep:
|
Quote:
Originally Posted by caravel
Did you reinstall libpango1.0-0?
|
Yes I reinstall the libpango1.0-0 without any problem with apt-get install --reinstall libpango1.0-0 command
|
|
|
|
05-26-2012, 08:15 AM
|
#10
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
Have a look in /usr/local/lib and see if there any libs installed there.
Reinstall all of the cairo stuff you have installed, e.g this will show you everything you have installed which matches the search pattern "cairo".
Code:
aptitude search ~icairo
|
|
|
|
05-26-2012, 09:19 AM
|
#11
|
|
Member
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62
Original Poster
Rep:
|
Yes there are libs in /usr/local/lib but libpangocairo library is in /usr/lib
I have seen two library file in /usr/lib/ directory related with libpangocairo-1.0.so.0 . Probably gives a idea to you.
Quote:
# dlocate libpangocairo-1.0.so.0
libpangocairo1.0-0 /usr/lib/libpangocairo-1.0.so.0.2800.3
libpangocairo1.0-0 /usr/lib/libpangocairo-1.0.so.0
|
On the system those packages installed about cairo and pango.I reinstalled the all packages but I am still getting the same error.
Quote:
libcairo-ocaml
libcairo-perl
libcairo2
libcairo2-dev
libcairomm-1.0-1
libmono-cairo2.0-cil
python-cairo
libpango-perl
libpango1.0-0
libpango1.0-common
libpango1.0-dev
libpangomm-1.4.1
|
|
|
|
|
05-26-2012, 12:26 PM
|
#12
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
What do you have in /usr/local/lib ?
On my system: nothing.
|
|
|
|
05-26-2012, 09:26 PM
|
#13
|
|
Senior Member
Registered: Jan 2011
Location: Australia Victoria
Distribution: Debian, Opensuse, Slackware (still undecided)
Posts: 1,073
Rep: 
|
Quote:
Originally Posted by mesuutt
I have gtk+2 2.20.1-2(I checked with apt-cache policy libgtk2.0 command)
thanks
|
Need more
Quote:
|
4. You need to have installed GTK+ version 2.24.10 or newer.
|
|
|
|
|
05-28-2012, 03:08 AM
|
#14
|
|
Member
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62
Original Poster
Rep:
|
I dont know why but the problem resolved when I remove files that related with dependent libraries of gimp in /usr/local/lib 
|
|
|
|
05-28-2012, 04:29 AM
|
#15
|
|
Member
Registered: Apr 2005
Distribution: Debian, Slackware
Posts: 907
|
Before you try again see Knightron's post regarding the GTK version... the newer GTK also depends on newer libc6, etc...
If you really need Gimp 2.8 you might be better off upgrading to the testing branch where you can simply apt-get it from the repositories.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:12 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|