about linux binaries error

Alexey Zelkin phantom at FreeBSD.org.ua
Mon Jan 31 08:57:07 PST 2005


hi,

On Mon, Jan 31, 2005 at 09:10:42AM +0000, Eduardo wrote:
> Sirs
> 
> 	I am trying to install java in FreeBSD (4.11-RELEASE). I have 
> 	installed linux_base-7 (and dependencies), linprocs is in my /etc/fstab 
> (and it is mounted too). However, i got the error message above when "make 
> clean install" is typed. Any hints.
> 
> Thanks in advance
> 
> 	Eduardo
> 
> 
> -------- Original Message --------
> Date: Mon, 31 Jan 2005 09:07:30 +0000
> From: root at laplace.quimica.ufpr.br (Eduardo Lemos de Sa)
> To: Eduardo <edulsa at laplace.quimica.ufpr.br>
> 
> This Java VM will attempt to obtain some system information by
> accessing files in linux's procfs.  You must install the Linux
> emulation procfs filesystem for this to work correctly.  The JVM
> will exhibit various problems otherwise.  This can be accomplished
> by adding the following line to your /etc/fstab file:
> 
>  linprocfs   /compat/linux/proc   linprocfs   rw   0  0
> 
> and then, as root, executing the commands:
> 
> kldload linprocfs
> mount /compat/linux/proc
> 
> ======================================================================
> ===>  Vulnerability check disabled, database not found
> ===>  Extracting for linux-sun-jdk-1.4.2.06_1
> => Checksum OK for j2sdk-1_4_2_06-linux-i586.bin.
> ===>   linux-sun-jdk-1.4.2.06_1 depends on file: 
> /compat/linux/lib/libc.so.6 - found
> ELF binary type "0" not known.

It means what linux emulation is not enabled.  Load linux.ko using 
kldload utilitty and restart build.

> Abort trap
> *** Error code 134
> 
> Stop in /usr1/ports/java/linux-sun-jdk14.


More information about the freebsd-java mailing list