From owner-freebsd-questions Mon Nov 18 15: 0:57 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 7220737B401 for ; Mon, 18 Nov 2002 15:00:55 -0800 (PST) Received: from verniernetworks.com (dns.verniernetworks.com [65.200.185.165]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E26B43E42 for ; Mon, 18 Nov 2002 15:00:54 -0800 (PST) (envelope-from mark@verniernetworks.com) Received: from verniernetworks.com (piglet.verniernetworks.com [192.168.10.176]) by verniernetworks.com (8.12.3/8.11.0) with ESMTP id gAIN0mQM062884; Mon, 18 Nov 2002 15:00:48 -0800 (PST) (envelope-from mark@verniernetworks.com) Message-ID: <3DD97120.2070201@verniernetworks.com> Date: Mon, 18 Nov 2002 15:00:48 -0800 From: Mark Gooderum Organization: Vernier Networks User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021005 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org, leth@primus.ca Subject: Re: java/jdk13 problems References: <3DD96F70.2010403@verniernetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 I just ran into this. The key line is: ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Something about one of the binaries in the Linux rpm is making the binary compatibilty layer think it's an SVR4 binary and not a Linux binary. I had both IBCS2 and SVR4 emulation enabled. I disabled these (comment out in /etc/rc.conf and reboot or unload the relevent kernel modules - svr4.o, streams.o, ibcsXX.o) and then did a make clean and make and all was well. If using KLMs do a kldunload on the relevent modules: kldunload streams.ko kldunload svr4.ko kldstat ibcs2.ko kldstat ibcs2_coff.ko I'm pretty sure that unloading just the Svr4 modules would do the trick. If you've compiled the support static in the kernel you'll need a new kernel. If I had the time there might be a bug worth fixing on the binary recognition but for the next few weeks I don't, sigh. -- Mark Gooderum > I am trying to install java/jdk13, but am running into the following: > > Do you agree to the above license terms? [yes or no] > yes > Unpacking... > Checksumming... > 0 > 0 > Extracting... > ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found > Abort trap > Done. > ===> Patching for linux-sun-jdk-1.3.1.06 > ===> Applying FreeBSD patches for linux-sun-jdk-1.3.1.06 > patch: **** can't cd to /usr/ports/java/linux-sun-jdk13/work/jdk1.3.1_06: > No such file or directory > >>> Patch patch-aa failed to apply cleanly. >> > *** Error code 1 > > Stop in /usr/ports/java/linux-sun-jdk13. > *** Error code 1 > > > I tried searching google, and most/all of the results were from people > complaining about not being able to install OpenOffice, and getting a > similar error. One of the suggestions was to make sure that linux_base > was installed. I do have linux_base-7.1_1 installed, but it might be > interesting to note that I am one of the handful of people that seems to > have a problem installing linux_base from the ports. I instead had to > install linux_base from the packages. > > I'm really not sure where to start with this. Any help would be > appreciated. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > > > > ------------------------------------------------------------------------ > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message