LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   The installed libffi not found! (https://www.linuxquestions.org/questions/mandriva-30/the-installed-libffi-not-found-4175417156/)

irajjs 07-17-2012 05:19 AM

The installed libffi not found!
 
Hi

i am trying to install guile but whenever i type : "./configure" the last output lines are as follows:
.......
checking for LIBFFI... configure: error: Package requirements (libffi) were not met:

No package 'libffi' found
.....

but when i type:[root@localhost guile-2.0.6]# urpmi libffi
Package libffi4-4.6.1-3.3-mdv2011.0.i586 is already installed

What does this mean?! Please help.
Thank you in advanc
e

pan64 07-17-2012 06:03 AM

try locate libffi to find out where is it installed and what is the real name of that lib.

knudfl 07-17-2012 04:38 PM

libffi : 'configure is looking for a complete install of libffi.

So far you only have the run time files installed.
The missing files are in the package 'libffi4-devel'.

# urpmi libffi4-devel

Searching for "libffi" packages : # urpmq -fuzzy libffi

P.S.: "No package 'libffi' found" means no /usr/lib/pkgconfig/libffi.pc
( libffi.pc is a package config file.)

.

irajjs 07-19-2012 01:13 AM

libffi locations
 
Quote:

Originally Posted by pan64 (Post 4730428)
try locate libffi to find out where is it installed and what is the real name of that lib.

Hi
libffi ... locations:
1-Home/....
2- /usr/local/lib/
3- /usr/share/doc/

irajjs 07-19-2012 01:20 AM

No package!?
 
Quote:

Originally Posted by knudfl (Post 4731006)
libffi : 'configure is looking for a complete install of libffi.

So far you only have the run time files installed.
The missing files are in the package 'libffi4-devel'.

# urpmi libffi4-devel

Searching for "libffi" packages : # urpmq -fuzzy libffi

P.S.: "No package 'libffi' found" means no /usr/lib/pkgconfig/libffi.pc
( libffi.pc is a package config file.)

.

Hi
[root@localhost lib]# urpmi libffi4-devel
No package named libffi4-devel
[root@localhost lib]# urpmi libffi4-devel
No package named libffi4-devel
[root@localhost lib]# urpmi libffi4
Package libffi4-4.6.1-3.3-mdv2011.0.i586 is already installed

pan64 07-19-2012 02:04 AM

here is a list about the packages: http://rpm.pbone.net/index.php3?stat...evel&srodzaj=3. looks like its name is libffi-devel, but I'm not really sure. You can search for libffi4 package also on that page, libffi4-devel does not exist for mandriva 11.

knudfl 07-19-2012 04:36 AM

Sorry, the package name for 2011 is 'libffi-devel'
ftp://ftp.sunet.se/pub/os/Linux/dist.../main/release/

But then again, the first command is always :
# urpmq -fuzzy <name> ( or part of name )
.... so you can see the correct name for yourself.

.


All times are GMT -5. The time now is 09:17 AM.