LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libcairo.so no such file or directory (https://www.linuxquestions.org/questions/linux-newbie-8/libcairo-so-no-such-file-or-directory-4175505591/)

allenlinux 05-20-2014 02:13 PM

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

JeremyBoden 05-20-2014 06:58 PM

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?

TobiSGD 05-20-2014 07:58 PM

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.

knudfl 05-20-2014 08:01 PM

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 }

-

allenlinux 05-22-2014 11:00 PM

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

jdkaye 05-23-2014 01:04 AM

Quote:

Originally Posted by allenlinux (Post 5175595)

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

TobiSGD 05-23-2014 06:15 AM

According to your locate output the symlink is already in place.

allenlinux 05-23-2014 05:42 PM

system ready
 
system ready:cool:

jdkaye 05-23-2014 11:29 PM

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

allenlinux 05-26-2014 11:29 AM

[solved]
 
[solved]

jdkaye 05-26-2014 12:34 PM

1 Attachment(s)
Quote:

Originally Posted by allenlinux (Post 5177177)
[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


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