From owner-freebsd-emulation@FreeBSD.ORG Fri Nov 7 17:58:01 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 968FD106567B for ; Fri, 7 Nov 2008 17:58:01 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id D4D9F8FC1B for ; Fri, 7 Nov 2008 17:58:00 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id TAA22895 for ; Fri, 07 Nov 2008 19:45:00 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <49147E9B.4050109@icyb.net.ua> Date: Fri, 07 Nov 2008 19:44:59 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.17 (X11/20081106) MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: /etc/rc.d/abi: can't understand linux_start X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Nov 2008 17:58:01 -0000 FreeBSD 7.1-PRERELEASE r184741 amd64 Fresh install. I see the following in /etc/rc.d/abi: linux_start() { local _tmpdir echo -n ' linux' load_kld -e 'linux(aout|elf)' linux if [ -x /compat/linux/sbin/ldconfigDisabled ]; then ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ So we run linux ldconfig and create linux ld.so.cache only if there is executable file ldconfigDisabled? I have linux_base-f7-7 installed and there is no such file and skype can't find required shared libs. If I manually run ldconfig, then skype is happy. _tmpdir=`mktemp -d -t linux-ldconfig` /compat/linux/sbin/ldconfig -C ${_tmpdir}/ld.so.cache if ! cmp -s ${_tmpdir}/ld.so.cache /compat/linux/etc/ld.so.cache; then cat ${_tmpdir}/ld.so.cache > /compat/linux/etc/ld.so.cache fi rm -rf ${_tmpdir} fi } -- Andriy Gapon