Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 11:07:22 +0200
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        Mike Clarke <mike@milibyte.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Shared object "libffi.so.6" not found
Message-ID:  <20150720110722.3de4133c@kalimero.tijl.coosemans.org>
In-Reply-To: <1801484.8HheermeJ8@curlew.lan>
References:  <1801484.8HheermeJ8@curlew.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Jul 2015 17:18:08 +0100 Mike Clarke <mike@milibyte.co.uk> wrote:
> 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.

It's probably caused by a script in /usr/local/etc/rc.d that runs before
/etc/rc.d/ldconfig instead of after.  You can fix this order by adding
DAEMON to the REQUIRE list at the beginning of that script.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150720110722.3de4133c>