LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   where is libffi.so.6? (http://www.linuxquestions.org/questions/linux-software-2/where-is-libffi-so-6-a-944476/)

mreff555 05-11-2012 04:53 PM

where is libffi.so.6?
 
I'm trying to satisfy dependancies for gimp 2.8

I've been trying to install glib 2.32.1 but I'm getting errors loading libffi.so.6.

It doesn't appear to be installed on my system. I have installed libffi 3.0.11 and it appears to correctly install but still not libffi.so.6

any suggestions?

blue_print 05-11-2012 10:58 PM

Aren't you able to find the package in /usr/lib?

If it is a rpm based installation, please use the following command,

Quote:

rpm -ql libffi
This will give you the path of libffi so file

knudfl 05-12-2012 12:24 AM

Still the Debian Sid based Crunchbang ?

Today's Debian Sid has libglib2.0-0 version 2.32.2,
and it uses libffi5 : libffi.so.5
http://packages.debian.org/sid/libglib2.0-0


If you have the libffi.so.6 from libffi 3.0.11 in a hideaway location,
glib 2.32.1 may not be able to find it.


Anyway, gimp-2.8.0 will do fine with glib-2.30.2, which is often
compiled to use libffi.so.4 or libffi.so.5


.

mreff555 05-12-2012 08:14 AM

Thanks guys.

here is what I had in my /usr/lib
Code:

dan@hobo:~/downloads/glib-2.30.2$ ls -l /usr/lib/libffi*
lrwxrwxrwx 1 root root    16 Mar 25 07:38 /usr/lib/libffi.so.5 -> libffi.so.5.0.10
-rw-r--r-- 1 root root 31792 Oct  1  2010 /usr/lib/libffi.so.5.0.10
dan@hobo:~/downloads/glib-2.30.2$

I tried glib-2.32.2 but it appears to be also looking for libffi.so.6
2.30.2 seems to have installed ok. I guess I'll give that a try

mreff555 05-12-2012 08:54 AM

update

Gimp 2.8 also requires Pango >= 1.29.4 which requires libffi.so.6 arggggg!

knudfl 05-12-2012 09:13 AM

Where do you get those strange packages that require libffi.so.6 ? ?

The current Debian Sid : libpango ver. 1.30.0 :
Depends on a glib2, built with libffi.so -> libffi.so.5
http://packages.debian.org/sid/libpango1.0-0
http://packages.debian.org/source/sid/glib2.0
http://packages.debian.org/sid/libffi5

Which OS are you using ? Version ?

.

mreff555 05-12-2012 09:20 AM

I was trying to compile from source

knudfl 05-12-2012 09:44 AM

I did a gimp-2.8.0 build on Suse 12.1 yesterday.
That's the one with the "old" libffi-4.6.2 : libffi.so -> libffi.so.4 !
And pango-1.29.4 is the default installed system version.
http://www.linuxquestions.org/questi...lems-944359/#8

No issues at all.


All times are GMT -5. The time now is 05:26 PM.