Date: Wed, 24 Jul 2002 18:36:36 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Eric Dedrick <dedrick@dsl-146-127.resnet.purdue.edu> Cc: Adam Weinberger <adam@vectors.cx>, freebsd-questions@FreeBSD.ORG Subject: Re: linux compatability broken Message-ID: <20020724233636.GJ13851@dan.emsphone.com> In-Reply-To: <20020724174155.Y12068-100000@dsl-146-127.resnet.purdue.edu> References: <20020724210047.GG13851@dan.emsphone.com> <20020724174155.Y12068-100000@dsl-146-127.resnet.purdue.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020724233636.GJ13851>