From owner-freebsd-emulation@FreeBSD.ORG Fri Jul 7 15:02:02 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9ED116A4DF for ; Fri, 7 Jul 2006 15:02:02 +0000 (UTC) (envelope-from ndelmonico@sbcglobal.net) Received: from smtp104.sbc.mail.mud.yahoo.com (smtp104.sbc.mail.mud.yahoo.com [68.142.198.203]) by mx1.FreeBSD.org (Postfix) with SMTP id 7FED643D46 for ; Fri, 7 Jul 2006 15:02:02 +0000 (GMT) (envelope-from ndelmonico@sbcglobal.net) Received: (qmail 94464 invoked from network); 7 Jul 2006 15:02:01 -0000 Received: from unknown (HELO ?192.168.1.3?) (ndelmonico@sbcglobal.net@65.66.150.196 with plain) by smtp104.sbc.mail.mud.yahoo.com with SMTP; 7 Jul 2006 15:02:01 -0000 Message-ID: <44AE7772.3050304@sbcglobal.net> Date: Fri, 07 Jul 2006 10:02:10 -0500 From: Neal Delmonico User-Agent: Thunderbird 1.5.0.4 (X11/20060605) MIME-Version: 1.0 To: Alexander Leidinger References: <44ADC518.50701@sbcglobal.net> <93778922@serv3.int.kfs.ru> <20060707114827.vq3kyyzog08c0gsw@netchild.homeip.net> In-Reply-To: <20060707114827.vq3kyyzog08c0gsw@netchild.homeip.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org Subject: Re: New Linux Base? 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 Jul 2006 15:02:03 -0000 Thanks for your attention to this problem and all your suggestions. Here is what I tried. Alexander Leidinger wrote: > Quoting Boris Samorodov (from Fri, 07 Jul 2006 10:50:29 > +0400): > >> On Thu, 06 Jul 2006 21:21:12 -0500 Neal Delmonico wrote: > >>> linux_base-fc4 with the -rf switches (portupgrade), but that does not >>> seem to help. I have noticed that the directories pointed to in the >>> /usr/compat/linux/etc/ld.so.conf file do not seem to be linux >> >> Those directories are prefixed by LINUX_BASE while searching. So they >> _are_ pointing to linux directories. > > To be more correct: the kernel will user /compat/linux (hardcoded) as > a prefix... but it doesn't matter here. > I did not know this. I removed all of the added stuff (/usr/compat/linux) from the directories in the ld.so.conf file and did a chroot to /compat/linux. Then I ran the Linux ldconfig file again. That made no difference in the behavior of the programs. >>> directories. Changing them to their Linux conterparts and running >>> /usr/compat/linux/sbin/ldconfig does not correct the situation, > > You either need to chroot to /compat/linux by hand when running the > linux ldconfig, or use the switch in ldconfig to let ldconfig do it. > >> >> Do you have any non-standard options at your environment >> (i.e. LD_LIBRARY_PATH, path or else)? > > An additional variable to check is LD_PRELOAD. Both should not be set. > Nothing comes up when I do an env. None of the rc files (cshrc, bashrc, profile, etc) set either of those variables. Is there another way to check? > Make sure you either have linux in the kernel or loaded as a module > (yes, you may be sure this is the case, but please check again). I have these options set in my kernel config file: options COMPAT_LINUX32 options LINPROCFS . options LINSYSFS and linux_enable="YES" in my rc.conf file. The kldstat does not list linux.ko, however. Is there any way to check beyond that? > pkg_delete/pkg_deinstall every linux port. Make sure you don't have > any linux related knobs enabled in make.conf. Remove the /compat/linux > subtree completely (rm -rf). This is to make sure you don't have any > old files there. Now install acroread and try to run it. > I will try this and report back. Thanks. Neal