Shared object "libffi.so.6" not found

Mike Clarke mike at milibyte.co.uk
Sun Jul 19 16:21:26 UTC 2015


While booting 10.1-RELEASE I get the following message on the console:

Shared object "libffi.so.6" not found, required by "libp11-kit.so.0"

The message appears early in the boot process while network routing is being 
set up.

A few checks show that libffi.so.6 does exist:

curlew:/home/mike% locate libp11-kit.so.0
/usr/local/lib/libp11-kit.so.0
/usr/local/lib/libp11-kit.so.0.1.0

curlew:/home/mike% ldd /usr/local/lib/libp11-kit.so.0
/usr/local/lib/libp11-kit.so.0:
        libffi.so.6 => /usr/local/lib/libffi.so.6 (0x801660000)
        libthr.so.3 => /lib/libthr.so.3 (0x801867000)
        libc.so.7 => /lib/libc.so.7 (0x80081f000)

curlew:/home/mike% ls -l /usr/local/lib/libffi.so.6*
lrwxr-xr-x  1 root  wheel     15  8 Jan  2015 /usr/local/lib/libffi.so.6@ -> 
libffi.so.6.0.4
-rwxr-xr-x  1 root  wheel  27960  8 Jan  2015 /usr/local/lib/libffi.so.6.0.4*

I'm puzzled why I see the 'libffi.so.6 not found' message at a stage in the 
boot process after local filesystems have been mounted.

-- 
Mike Clarke


More information about the freebsd-questions mailing list