LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2014, 03:13 PM   #1
allenlinux
Member
 
Registered: Aug 2012
Posts: 75

Rep: Reputation: Disabled
Arrow libcairo.so no such file or directory


slackware 14.1 | 64 bits

i want to install emerald using:

sbopkg -i 'emerald'

then i got this error:

gcc /usr/lib64/libcairo.so no such file or directory
 
Old 05-20-2014, 07:58 PM   #2
JeremyBoden
Senior Member
 
Registered: Nov 2011
Distribution: Debian
Posts: 1,187

Rep: Reputation: 243Reputation: 243Reputation: 243
On Mint:-
Code:
jeremy@hector:~$ locate libcairo.so
produces
Quote:
/usr/lib/x86_64-linux-gnu/libcairo.so.2
/usr/lib/x86_64-linux-gnu/libcairo.so.2.11200.16
/var/tmp/mkinitramfs_Sj39sh/usr/lib/x86_64-linux-gnu/libcairo.so.2
/var/tmp/mkinitramfs_p4iE3g/usr/lib/x86_64-linux-gnu/libcairo.so.2
/var/tmp/mkinitramfs_x8jkMD/usr/lib/x86_64-linux-gnu/libcairo.so.2
Perhaps you just need to create an appropriate symlink?
 
Old 05-20-2014, 08:58 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
Have you tested if that file is present? It should be a symlink and point to libcairo.so.2.11200.16 in the same directory.
 
Old 05-20-2014, 09:01 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,756

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
Suggest : Reinstall / update cairo
ftp://ftp.slackware.org.uk/slackware..._slack14.1.txz

# upgradepkg cairo-1.12.16-x86_64-1_slack14.1.txz
( # installpkg cairo-1.12.16-x86_64-1_slack14.1.txz ).

/usr/lib64/{ libcairo.so -> libcairo.so.2.11200.16 }

-

Last edited by knudfl; 05-20-2014 at 09:23 PM.
 
Old 05-23-2014, 12:00 AM   #5
allenlinux
Member
 
Registered: Aug 2012
Posts: 75

Original Poster
Rep: Reputation: Disabled
Talking solved | reinstall libcairo

thanks to everyone. but i need how to do the symbolic link to libcairo.
in my case i got this
# locate libcairo.so
/opt/libreoffice4.1/program/libcairo.so.2
/root/cairo/src/.libs/libcairo.so
/root/cairo/src/.libs/libcairo.so.2
/usr/local/lib/libcairo.so
/usr/local/lib/libcairo.so.2.11301.0
/usr/local/lib/libcairo.so.2
/usr/lib64/libcairo.so.2.11200.16
/usr/lib64/libcairo.so
/usr/lib64/libcairo.so.2
/usr/lib/libcairo.so.2.11200.14
/usr/lib/libcairo.so
/usr/lib/libcairo.so.2

slackpkg reinstall libcairo works fine for me, but how can i do the simbolic link?.
thanks to everyone
 
Old 05-23-2014, 02:04 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by allenlinux View Post

slackpkg reinstall libcairo works fine for me, but how can i do the simbolic link?.
thanks to everyone
Code:
ln -s TARGET LINK_NAME
jdk
 
Old 05-23-2014, 07:15 AM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853Reputation: 4853
According to your locate output the symlink is already in place.
 
Old 05-23-2014, 06:42 PM   #8
allenlinux
Member
 
Registered: Aug 2012
Posts: 75

Original Poster
Rep: Reputation: Disabled
Wink system ready

system ready
 
Old 05-24-2014, 12:29 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
If this means your problem is solved as a service to others please mark this thread as [SOLVED] using the Thread Tools menu located above your first post to this thread.
jdk
 
Old 05-26-2014, 12:29 PM   #10
allenlinux
Member
 
Registered: Aug 2012
Posts: 75

Original Poster
Rep: Reputation: Disabled
[solved]

[solved]
 
Old 05-26-2014, 01:34 PM   #11
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by allenlinux View Post
[solved]
Nope, that's not it. Please use the Thread Tools menu above your first post in this thread as shown in the attached screenshot.
jdk
Attached Thumbnails
Click image for larger version

Name:	lq_threadtools.png
Views:	19
Size:	26.8 KB
ID:	15608  

Last edited by jdkaye; 05-26-2014 at 01:45 PM.
 
  


Reply

Tags
cairo, emerald, gcc


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
problem with multilib and new libcairo Toutatis Slackware 4 12-17-2013 02:37 PM
libcairo.la not found make errors in several sources dive Slackware 6 10-14-2008 07:24 PM
Libcairo HELP Sovetryne Linux - Newbie 8 06-29-2008 08:05 AM
libcairo.so: undefined reference to `FT_GlyphSlot_Embolden' [KIA]aze Linux - Software 13 07-20-2007 07:58 AM
libcairo.so.2 ? dave`2005 Linux - Newbie 3 03-14-2006 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration