Date: Fri, 07 Nov 2008 19:44:59 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: freebsd-emulation@freebsd.org Subject: /etc/rc.d/abi: can't understand linux_start Message-ID: <49147E9B.4050109@icyb.net.ua>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49147E9B.4050109>