LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-25-2012, 09:09 AM   #1
mesuutt
Member
 
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62

Rep: Reputation: 1
Question 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?
 
Old 05-25-2012, 09:25 AM   #2
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
From where did you install gimp 2.8?

Post the output:

Code:
$ cat /etc/apt/sources.list
 
Old 05-25-2012, 10:00 AM   #3
mesuutt
Member
 
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by caravel View Post
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
 
Old 05-25-2012, 10:19 AM   #4
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Quote:
Originally Posted by mesuutt View Post
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 View Post
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.
 
Old 05-25-2012, 10:31 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
you need gtk2, not gtk3
 
Old 05-26-2012, 04:49 AM   #6
mesuutt
Member
 
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62

Original Poster
Rep: Reputation: 1
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 ?
 
Old 05-26-2012, 05:02 AM   #7
mesuutt
Member
 
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Knightron View Post
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.
 
Old 05-26-2012, 07:00 AM   #8
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
Did you reinstall libpango1.0-0?
 
Old 05-26-2012, 07:52 AM   #9
mesuutt
Member
 
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by caravel View Post
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
 
Old 05-26-2012, 08:15 AM   #10
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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
 
Old 05-26-2012, 09:19 AM   #11
mesuutt
Member
 
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62

Original Poster
Rep: Reputation: 1
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
 
Old 05-26-2012, 12:26 PM   #12
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
What do you have in /usr/local/lib ?

On my system: nothing.
 
Old 05-26-2012, 09:26 PM   #13
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Quote:
Originally Posted by mesuutt View Post
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.
 
Old 05-28-2012, 03:08 AM   #14
mesuutt
Member
 
Registered: Jan 2011
Location: İstanbul
Distribution: Slackware,Debian
Posts: 62

Original Poster
Rep: Reputation: 1
I dont know why but the problem resolved when I remove files that related with dependent libraries of gimp in /usr/local/lib
 
Old 05-28-2012, 04:29 AM   #15
cynwulf
Senior Member
 
Registered: Apr 2005
Posts: 2,727

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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.
 
  


Reply

Tags
libraries



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
[SOLVED] symbol lookup error: /usr/sbin/httpd: undefined symbol: apr_file_link bagi Slackware 3 05-17-2011 07:49 AM
glib error while installing patch: symbol lookup error undefined symbol: g_dgettext mthakare Linux - Software 1 06-14-2010 04:01 AM
make error:libpangocairo-1.0.so.0: undefined reference to `g_once....... edwinzhou Linux - Server 1 02-11-2010 02:07 PM
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 04:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:39 PM.

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
Open Source Consulting | Domain Registration