From owner-freebsd-questions Wed Jul 24 16:36:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52B4937B400 for ; Wed, 24 Jul 2002 16:36:39 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB1A243E42 for ; Wed, 24 Jul 2002 16:36:38 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6ONaasf061981; Wed, 24 Jul 2002 18:36:36 -0500 (CDT) (envelope-from dan) Date: Wed, 24 Jul 2002 18:36:36 -0500 From: Dan Nelson To: Eric Dedrick Cc: Adam Weinberger , freebsd-questions@FreeBSD.ORG Subject: Re: linux compatability broken Message-ID: <20020724233636.GJ13851@dan.emsphone.com> References: <20020724210047.GG13851@dan.emsphone.com> <20020724174155.Y12068-100000@dsl-146-127.resnet.purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020724174155.Y12068-100000@dsl-146-127.resnet.purdue.edu> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Jul 24), Eric Dedrick said: > > > $ opera > > > ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found > > > [1] 11964 Abort trap > > > > Now that's really confusing. Without the svr4 module loaded, the > > string "/compat/svr4" should not exist anywhere in the kernel (it's > > defined in /sys/svr4/svr4_sysvec.c). There is simply no way you should > > get that error message. Are you _sure_ you're booting a rebuilt > > kernel? Try rm -rf'ing the compile directory and build again. What > > does 'uname -v' print? > $ uname -v > FreeBSD 4.6-STABLE #4: Tue Jul 23 21:13:42 EST 2002 dedrick@dsl-146-127.resnet.purdue.edu:/usr/obj/usr/src/sys/DSL-146-127-2 > > I've also unloaded the svr4.ko module and when I do that I get a whole new > realm of complaints. Mostly a whole bunch of libraries that can't be > found. Instead of > [1] 21021 Bad system call (core dumped) > we get > /usr/local/opera/lib/opera/5.05_tp1/opera-static: error while loading > shared libraries: libjpeg.so.62: cannot load shared object file: No such > file or directory Getting a bit better, but now it looks like it thinks the binary is a native BSD one instead of Linux. If you run "file /usr/local/opera/lib/opera/5.05_tp1/opera-static", what does it print? > There are also a whole bunch of other libraries missing from > /compat/linux. Some programs want ld-linux.so.1, and another wants > libdl.so.1. None of these exist in /compat with the linux-7.1 install. If you need to run RH 6 binaries, you'll need to also install the linux_base-6 package. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message