Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Nov 2002 15:00:48 -0800
From:      Mark Gooderum <mark@verniernetworks.com>
To:        freebsd-questions@freebsd.org, leth@primus.ca
Subject:   Re: java/jdk13 problems
Message-ID:  <3DD97120.2070201@verniernetworks.com>
References:  <3DD96F70.2010403@verniernetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD97120.2070201>