From owner-freebsd-questions@freebsd.org Mon Jul 20 09:08:35 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACB439A6480 for ; Mon, 20 Jul 2015 09:08:35 +0000 (UTC) (envelope-from tijl@freebsd.org) Received: from mailrelay116.isp.belgacom.be (mailrelay116.isp.belgacom.be [195.238.20.143]) by mx1.freebsd.org (Postfix) with ESMTP id 4B6BF1C4C for ; Mon, 20 Jul 2015 09:08:34 +0000 (UTC) (envelope-from tijl@freebsd.org) X-Belgacom-Dynamic: yes X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=Ax9Kd9og7W2htzcJF9odWb+87PP6pPoG1t8Q07ebhfo= c=1 sm=2 a=D7rCoLxHAAAA:8 a=mroeBw_i14QqH3jOvtoA:9 a=CjuIK1q_8ugA:10 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A2BhBgDKuaxV/++YsFtcgxOBPcNfAoEiPRABAQEBAQEBgQqEJAEBBCcTHB4FEAsYCSUPKh4GE4gyAcUQAQEBAQEBBAEBAQEei0yFBgeEKwEElFKHT4RRmQgmg348MYJLAQEB Received: from 239.152-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.152.239]) by relay.skynet.be with ESMTP; 20 Jul 2015 11:07:24 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.15.2/8.15.2) with ESMTP id t6K97MaJ001691; Mon, 20 Jul 2015 11:07:23 +0200 (CEST) (envelope-from tijl@FreeBSD.org) Date: Mon, 20 Jul 2015 11:07:22 +0200 From: Tijl Coosemans To: Mike Clarke 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jul 2015 09:08:35 -0000 On Sun, 19 Jul 2015 17:18:08 +0100 Mike Clarke 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.